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.
>
>

Hi,

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?

Vicente

--
View this message in context: http://boost.2283326.n4.nabble.com/test-showtopper-for-release-1-49-std-forward-not-found-when-compiling-with-clang-3-0-c-0x-mode-tp4254113p4256359.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk