Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-04-06 12:54:27


Arkadiy Vertleyb wrote:
>
> This kind of unnamed namespace can be handled correctly by both MS
> compilers, with respect to pch, but I don't believe it satisfies the Boost
> naming convention. OTOH, if no other solution is found, this is the only
> way we can achieve typeof compliance with pch, while still staying in the
> unnamed namespace.
>
> Thoughts?
>

MPL introduces a namespace called "::mpl_" (note: root namespace) by default. It is configurable with a macro.
Maybe a similar approach will work for Typeof ("::<anonymous>::boost_typeof" or so). ::<anonymous>::boost::<...> looks potentially dangerous (ambiguity) to me although I believe it /should/ work...

Regards,
Tobias


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