Boost logo

Boost :

From: Bryan Ewbank (ewbank_at_[hidden])
Date: 2007-06-12 14:25:24

To say this another way, there is never an unnamed namespace; any namespace
for which you do not specify a name is effectively given a randomly
generated name. That means each time you include a header file with an
"unnamed" namespace, you are creating a separate instance of everything in
that namespace.

On 6/10/07, Arkadiy Vertleyb <vertleyb_at_[hidden]> wrote:
> "Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> wrote
> > Are there any problems with unnamed namespace usage within Boost.Test?
> Using unnamed namespace inside a header represents a potential ODR
> violation. See if you have this kind of usage.
> Regards,
> Arkadiy

Boost list run by bdawes at, gregod at, cpdaniel at, john at