Topic: 17.4.3.1.2 - Global names [lib.global.names]


Author: nomercy2222@gmail.com (nomercy2222)
Date: Mon, 26 Jun 2006 01:17:17 GMT
Raw View
Under 17.4.3.1.2 the ISO/IEC 14882 says that "Each name that contains a
double underscore ("__") or begins with an underscore followed by an
uppercase letter is reserved to the implementation for any use."

Does this also apply to tripple underscores? If so  ISO/IEC 14882 17.4.3.1.2
should state something along the lines that any sequence of 2 or more
underscores is reserved.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]





Author: jdennett@acm.org (James Dennett)
Date: Mon, 26 Jun 2006 14:27:12 GMT
Raw View
nomercy2222 wrote:
> Under 17.4.3.1.2 the ISO/IEC 14882 says that "Each name that contains a
> double underscore ("__") or begins with an underscore followed by an
> uppercase letter is reserved to the implementation for any use."
>
> Does this also apply to tripple underscores?

Every name containing a triple underscore a fortiori contains
a double underscore (in fact, at least two occurrences exist,
though they are not disjoint).  So yes, this applies to triple
underscores.

> If so  ISO/IEC 14882 17.4.3.1.2
> should state something along the lines that any sequence of 2 or more
> underscores is reserved.

It already does; that's implied directly by the existing text.

-- James

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]





Author: francis@robinton.demon.co.uk (Francis Glassborow)
Date: Mon, 26 Jun 2006 14:29:01 GMT
Raw View
In article <4bGng.98563$IK3.67912@pd7tw1no>, nomercy2222
<nomercy2222@gmail.com> writes
>Under 17.4.3.1.2 the ISO/IEC 14882 says that "Each name that contains a
>double underscore ("__") or begins with an underscore followed by an
>uppercase letter is reserved to the implementation for any use."
>
>Does this also apply to tripple underscores? If so  ISO/IEC 14882 17.4.3.1.2
>should state something along the lines that any sequence of 2 or more
>underscores is reserved.

When you manage to show how you can have more than two underscores in
succession without also having two consecutive I will agree with you.


--
Francis Glassborow      ACCU
Author of 'You Can Do It!' and "You Can Program in C++"
see http://www.spellen.org/youcandoit
For project ideas and contributions: http://www.spellen.org/youcandoit/projects

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]