|
Boost Users : |
Subject: Re: [Boost-users] Trouble with std::forward and fusion vector using clang 3.4 and older library - is there a workaround?
From: Kohei Takahashi (flast_at_[hidden])
Date: 2016-12-15 02:59:12
Hi Stan,
Sorry for quite late reply.
On 2016/12/06 22:42, Stan Blakey wrote:
> With the -std=c++11 it compiles and runs without any issue.
> With -std=c++11 I get
Which line is correct?
> boost_1_60_0\boost/fusion/container/vector/vector.hpp:126:20: error:
> no template named 'forward' in namespace 'std'; did you mean
> 'advance_detail::forward'?
>
> return std::forward<result>(*advance_c<N>(begin(seq)));
>
> and many similar errors.
Which standard library (and its version) are you using?
If your standard library provides `std::forward` and it functions
normally, try `BOOST_NO_CXX11_CONSTEXPR`.
Kohei Takahashi
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