Boost logo

Boost Users :

Subject: Re: [Boost-users] [TR1] How to say BOOST_USE_BOOST_TR1
From: Markus Werle (numerical.simulation_at_[hidden])
Date: 2009-02-26 07:14:24


John Maddock <john <at> johnmaddock.co.uk> writes:

>
> > Or are we going to run into trouble because another std header might
> > include the compiler's tr1 stuff again?
>
> Yes, for example there are TR1 components in existing C++ std lib headers
> such as <utility> <cmath> etc.
>
> So there's no mechanism by which we can avoid including the vendors version
> if it's available.

[Still not giving up]
What we need then is the possiblity to use the
boost tr1 components from namespace boost::tr1, e.g.
boost::tr1::tuple<...> // behaves like std::tr1::truple.
vs.
boost::tuple<...> // does not behave like std::tr1::tuple

Is this feasible?

Markus


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