Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-06-09 18:43:48

"Guillaume Melquiond" <guillaume.melquiond_at_[hidden]> wrote in message
> Le samedi 09 juin 2007 à 14:03 -0400, Gennadiy Rozental a écrit :

> > Can anyone explain why unnamed namespace is a problem?
> Inline functions referring to the content of an unnamed namespace will
> break the one-definition rule, when their header is included several
> times. Undefined behavior ensues.

I don't mean in general. static vars have the same issue. I mean why is it
reported by our tools?


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