
6 Apr
2006
6 Apr
'06
4:54 p.m.
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