Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Message-ID | <9a5gd1Ft5qU1@mid.individual.net> (permalink) |
|---|---|
| Newsgroups | comp.std.c++ |
| From | Niklas Holsti <niklas.holsti@tidorum.invalid> |
| Subject | Re: An hexadecimal digits group separator for long 64bit addresses |
| Organization | Tidorum Ltd |
| References | <f81be81a-36de-482a-ad63-480bec9a9933@x38g2000pri.googlegroups.com> <itdl0j$ltu$1@dont-email.me> <96mnalFvp7U1@mid.individual.net> <75905c6c-2ee6-4dbb-8f4f-0d4fc6fc6d67@d26g2000prn.googlegroups.com> <d8cf6bd6-e37c-4827-8dd5-2ccff3d71cf4@q29g2000prj.googlegroups.com> |
| Date | 2011-08-07 13:07 -0600 |
Philip Guenther wrote:
>
> On Jun 27, 12:38 pm, Yakov Galka <ybungalob...@gmail.com> wrote:
> ...
>>
>> Maybe it's a silly idea, but we can use whitespace as a separator. It
>> even looks better than _ or '.
>>
>> Is there a place in C++ grammar where "pp-number pp-number" or "pp-
>> number identifier" are legal sequences when converted to tokens at
>> translation phase 7? AFAIK no. If so, we can concatenate these tokens
>> at translation phase 6, just as we do it for string literals. For
>> example:
>>
>> 3.14 159 265 f == 3.14159265f
>
> All human languages have a level of redundancy. Tenses must match;
> declensions must match; the 'person' of a verb (probably the wrong
> term) must match that of the subject used.
>
> Right now, if you make the typo of leaving out an operator between
> numbers (perhaps as part of a macro expansion) you get a syntax
> error. This would eliminate that.
Stepping outside the 7-bit ASCII set, the non-breaking space character
could be used to separate digits in numbers, with less risk of hiding
such typos.
--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
. @ .
[ comp.std.c++ is moderated. To submit articles, try posting with your ]
[ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
Back to comp.std.c++ | Previous | Next — Previous in thread | Next in thread | Find similar
An hexadecimal digits group separator for long 64bit addresses Yaniv Abraham <yaniv1abraham@gmail.com> - 2011-06-16 12:07 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Miles Bader<miles@gnu.org> - 2011-06-17 13:17 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Ed Smith-Rowland<3dw4rd@verizon.net> - 2011-06-17 13:18 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Victor Bazarov<v.bazarov@comcast.invalid> - 2011-06-17 13:16 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Niklas Holsti <niklas.holsti@tidorum.invalid> - 2011-06-25 14:06 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Yakov Galka <ybungalobill@gmail.com> - 2011-06-27 13:38 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Philip Guenther <guenther@gmail.com> - 2011-06-30 10:30 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Niklas Holsti <niklas.holsti@tidorum.invalid> - 2011-08-07 13:07 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Florian Kutscherauer<florian.kutscherauer@gmx.at> - 2011-08-10 11:50 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Ed Smith-Rowland <3dw4rd@verizon.net> - 2011-08-11 08:19 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Yakov Galka<ybungalobill@gmail.com> - 2011-08-15 07:46 -0600
Re: An hexadecimal digits group separator for long 64bit addresses "Martin B." <0xCDCDCDCD@gmx.at> - 2011-08-16 21:29 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Ed Smith-Rowland <3dw4rd@verizon.net> - 2011-08-18 07:53 -0600
Re: An hexadecimal digits group separator for long 64bit addresses Leo Equinox Gaspard <ekinox1995@gmail.com> - 2011-08-16 21:29 -0600
csiph-web