Topic: double underscore Qs __


Author: rickh@csn.net (Rick Hollinbeck)
Date: 1995/07/24
Raw View
Dom De Vitto (devitto@london.sinet.slb.com) wrote:
: I've heard that the double underscore in identifiers
: is reserved for the implementators (compiler/libs etc).

: I've never read or been told so:
: Are preprocessor definitions "identifiers" ??

No, preprocessor symbols are removed before C++ syntax is parsed, and need
no mangling since they are not overloaded, etc. (or even included in
object file output.)






Author: devitto@london.sinet.slb.com (Dom De Vitto)
Date: 1995/07/19
Raw View
I've heard that the double underscore in identifiers
is reserved for the implementators (compiler/libs etc).

I've never read or been told so:
Are preprocessor definitions "identifiers" ??

i.e. is:

#define LEGAL__ANSI

legal (=>portable) within applications ?

TIA,
Dom