Boost logo

Boost :

From: Alan Bellingham (alan_at_[hidden])
Date: 2003-12-18 09:35:46


Reece Dunn:

>I thought the double underscore rule was for the start of a macro, not
>within it. E.g. __BAD_MACRO vs GOOD__MACRO, or have I got this wrong?

17.4.3.1.2 Global names

— Each name that contains a double underscore (_ _) or begins with an
  underscore followed by an uppercase letter (2.11) is reserved to the
  implementation for any use.

Although this doesn't explicitly apply to macros, I'd still avoid them.

Alan

-- 
Alan Bellingham
(LJ: Bellinghman)

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