
12 Jun
2007
12 Jun
'07
6:25 p.m.
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@hotmail.com> wrote:
"Gennadiy Rozental" <gennadiy.rozental@thomson.com> 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