Connecting Tech Pros Worldwide Forums | Help | Site Map

underbar reserved for complier/library writters?

Dan Daly
Guest
 
Posts: n/a
#1: Nov 16 '05
Hello,

Is there a spec like ANSI or some such that actually states that underbar _
or __ is reserved for compiler and library writers? If it exists, I can not
find it.

Cheers,
dan



Tomas Restrepo \(MVP\)
Guest
 
Posts: n/a
#2: Nov 16 '05

re: underbar reserved for complier/library writters?


Dan,
[color=blue]
> Is there a spec like ANSI or some such that actually states that underbar[/color]
_[color=blue]
> or __ is reserved for compiler and library writers? If it exists, I can[/color]
not[color=blue]
> find it.[/color]

They are reserved at the begining of a word. The C++ standard states the
rules fairly clearly in 17.4.3.1 and its subsections, I believe.

--
Tomas Restrepo
tomasr@mvps.org


Dan Daly
Guest
 
Posts: n/a
#3: Nov 16 '05

re: underbar reserved for complier/library writters?


Danka!


Closed Thread