Boost logo

Boost :

Subject: Re: [boost] [test] showtopper for release 1.49 - std::forward not found when compiling with clang 3.0 c++0x mode.
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2012-01-03 05:33:02

Michel MORIN wrote
> Vicente J. Botet Escriba wrote:
>> I have added
>> #include <utility>
>> without success.
>> I guess that the standard library doesn't provides this function even if
>> the
>> compiler provides rvalue references.
> Right.
> This kind of problem happens when a C++03 standard library is used with
> a C++11 compiler. Though I'm not confident that it's worth supporting,
> it is pretty easy to support it, since we are free to implement our own
> `forward` function. For example, we can use `boost::forward` in
> boost/move/move.hpp.


I don't know if we need to support this combination,but do you know why the
compiler is using the c++03 library when compiling on C++11 mode?


View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at