Boost logo

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 20:03:11


Hi Stan,

On 2016/12/15 20:42, Stan Blakey wrote:
> I have tried all the boost macros that pertain to library features
> with no success. I did at the option BOOST_NO_CXX11_CONSTEXPR and this
> doesn't work either. The compiler is the full clang 3.4 and does
> support c++11 features such as constexpr. It is the library that is old.
>
> std::printf("GLIBCXX: %d\n",__GLIBCXX__);
>
> produces
>
> GLIBCXX: 20070514
>
Wow... It's gcc4.2.0...

OK, I think `BOOST_NO_CXX11_RVALUE_REFERENCES` will fix this issue (and
disable variadic fusion::vector).

Kohei





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