Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2006-09-13 16:08:46


"Thorsten Ottosen" <thorsten.ottosen_at_[hidden]> wrote

>>> 42 usages of unnamed namespaces in headers (including .ipp files)
>>
>>
>>> bind (1)
>>
>>
>> I'm not sure what I'm expected to do about that one. Bind has been using
>> an
>> unnamed namespace for its placeholders for quite a while now.
>
> What is the problem with an unnamed namespace in a header anyway? Is it
> illegal according to the standard?

ODR is potentially violated :-(

Having said this, typeof also uses unnamed namespace in the header by
design.

Regards,
Arkadiy


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