
13 Sep
2008
13 Sep
'08
4:37 p.m.
AMDG Sohail Somani wrote:
There is one obvious problem I see with the -DBOOST_NAMESPACE=foo approach: there is no way to include two versions of Boost within the same translation unit. Unfortunately, I don't think there would be any acceptable way to do this. Though I'm sure you will come back with a way to do it!
There is actually a worse problem. Any solution involving a namespace alias will break code like: namespace boost { namespace fusion { namespace extension { template<> struct begin_impl<...> { ... }; } } } In Christ, Steven Watanabe