Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2000-06-06 14:11:59


> Sorry for C++ only question... Somebody mentioned little earlier that
> __* are reserved identifiers for C++. Can you tell me where I can
> find more on this? Any book, or is it only in ISO C++ documentation?
> Or maybe I misunderstood previous post.

ISO C++ Standard (accurate by definition): 17.4.3.1.2:

    "Each name that contains a double underscore (__) or begins with an
underscore followed by an upper-case letter is reserved to the
implementation for any use."

Book (not completely accurate): The C++ Programming Language, 3rd Edition,
section 4.9.3:

    "Names starting with an underscore are reserved for special facilities
in the implementation and the run-time environment, so such names should not
be used in application programs."

Nice web site on the subject: <http://oakroadsystems.com/tech/cppredef.htm>.

    -- Darin


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk