Boost logo

Boost Users :

Subject: Re: [Boost-users] [TR1] How to say BOOST_USE_BOOST_TR1
From: John Maddock (john_at_[hidden])
Date: 2009-02-25 11:18:26


> I'd like to
> #include <boost/tr1/*.hpp>
> while at the same time state that I am *not*
> interested in the compiler's TR1 implementation
> (vc9 ...)
>
> Any MACRO BOST_HAS_NO_TR1 I missed?
> The opposite (BOOST_HAS_TR1) exists.

Unfortunately you can't do that: the std::tr1 namespace has already been
polluted by the vendors implementation so we can't add ours in there as
well.

You can of course use boost::whatever directly, rather than
std::tr1::whatever.

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net