Boost logo

Boost :

From: Jeff King (peff-boost_at_[hidden])
Date: 2001-11-25 12:54:19

On Sun, 25 Nov 2001, James Dennett wrote:

> I think the point was that there's only a single top-level anonymous
> namespace per translation unit, not per file. So, static asserts in
> header files may collide if they're included in the same source file,
> even if they're in an anonymous namespace.

Yes, I thought of this immediately after making my post. :)

I suppose for total uniqueness, we would need the line number of the TU
on which the header file was included. I don't believe there's a way to
do that.


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