
On Nov 12, 2004, at 9:51 AM, Peter Dimov wrote:
Beman Dawes wrote:
To insure Boost code works with various TR implementations, some Boost code will want to use the compiler vendor's version of the TR if the TR component required is available, but otherwise will want to use Boost equivalent code.
However, some Boost code might want to use the Boost version of the component, even if one is provided in std::tr1; and we also need to keep in mind that only some parts of std::tr1 may be missing. TR1-namespace-level global solutions can't work.
Why not keep all of the Boost versions in namespace boost, but create a boost::tr1 namespace that has the appropriate using declarations for the std versions (when a TR1 implementation is available) or the Boost versions (when a TR1 implementation is not available). If we're feeling really brave we could eventually call the boost:: versions deprecated :) Doug