Boost logo

Boost :

Subject: Re: [boost] Notice: Boost.Atomic (atomic operations library)
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-12-04 08:44:47


Helge Bahmann wrote:
> On Thu, 3 Dec 2009, Phil Endecott wrote:
>> (BTW, why do you use leading __s ? I was under the impression that
>> such identifiers were reserved.)
>
> habit of mine to name really internal stuff that way, I can change it
> if it collides with boost coding style

It collides with the standard. The compiler/stdlib is explicitly allowed to
declare keywords and macros containing __ (or starting with _ and an
uppercase letter) and break your code.


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