Boost logo

Boost Users :

Subject: Re: [Boost-users] [1.53.0] Beta1 release available
From: Ioannis Papadopoulos (ipapadop_at_[hidden])
Date: 2013-01-21 18:45:22


On 01/21/2013 05:36 PM, Marshall Clow wrote:
> On Jan 21, 2013, at 12:28 PM, Ioannis Papadopoulos <ipapadop_at_[hidden]> wrote:
>> OK, another problem in Boost.Fusion:
>>
>> #include <boost/tr1/tuple.hpp>
>> #include <boost/tr1/functional.hpp>
>>
>> int a, b;
>>
>> std::tr1::tuple<int&, int&> get()
>> {
>> return std::tr1::tuple<int&, int&>(std::tr1::ref(a), std::tr1::ref(b));
>> }
>>
>> int main()
>> {
>> std::tr1::tuple<int&, int&> t = get();
>> return 0;
>> }
>>
>> cannot compile with GCC 4.7.2 / C++11 when defining BOOST_FUSION_DONT_USE_PREPROCESSED_FILES:
>>
>> $ g++ --std=c++11 -DBOOST_FUSION_DONT_USE_PREPROCESSED_FILES test.cc -I /usr/local/boost/boost_1_53_beta/include/
>> In file included from /usr/local/boost/boost_1_53_beta/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:57:0,
>> from /usr/local/boost/boost_1_53_beta/include/boost/fusion/container/vector/vector10.hpp:87,
>> from /usr/local/boost/boost_1_53_beta/include/boost/fusion/container/vector/vector_fwd.hpp:14,
>> from /usr/local/boost/boost_1_53_beta/include/boost/fusion/container/vector/vector.hpp:10,
>> from /usr/local/boost/boost_1_53_beta/include/boost/fusion/tuple/tuple.hpp:11,
>> from /usr/local/boost/boost_1_53_beta/include/boost/fusion/tuple.hpp:10,
>> from /usr/local/boost/boost_1_53_beta/include/boost/fusion/include/tuple.hpp:10,
>> from /usr/local/boost/boost_1_53_beta/include/boost/tr1/tuple.hpp:58,
>> from test.cc:1:
>
> File a bug, please ;-)
>
> -- Marshall
>

Done: https://svn.boost.org/trac/boost/ticket/7914


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