Ticket #6965: ref_vector.error.output

File ref_vector.error.output, 3.5 KB (added by Joel Falcou, 10 years ago)

Error of former example

Line 
1In file included from /home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/vector10.hpp:62:0,
2 from /home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/vector_fwd.hpp:14,
3 from /home/falcou/Documents/dev/boost-trunk/boost/fusion/mpl/detail/clear.hpp:10,
4 from /home/falcou/Documents/dev/boost-trunk/boost/fusion/mpl/clear.hpp:12,
5 from /home/falcou/Documents/dev/boost-trunk/boost/fusion/mpl.hpp:17,
6 from /home/falcou/Documents/dev/boost-trunk/boost/fusion/include/mpl.hpp:11,
7 from ref_vector.cpp:3:
8/home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/detail/preprocessed/vector10.hpp: In static member function ‘static boost::fusion::vector_data3<T0, T1, T2> boost::fusion::vector_data3<T0, T1, T2>::init_from_sequence(const Sequence&) [with Sequence = foo, T0 = double&, T1 = float&, T2 = short int&, boost::fusion::vector_data3<T0, T1, T2> = boost::fusion::vector_data3<double&, float&, short int&>]’:
9/home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/detail/preprocessed/vector10.hpp:236:59: instantiated from ‘boost::fusion::vector3<T0, T1, T2>::vector3(const Sequence&) [with Sequence = foo, T0 = double&, T1 = float&, T2 = short int&]’
10ref_vector.cpp:32:51: instantiated from ‘composite_reference<T>::composite_reference(T&) [with T = foo]’
11ref_vector.cpp:51:35: instantiated from here
12/home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/detail/preprocessed/vector10.hpp:207:48: error: no matching function for call to ‘boost::fusion::vector_data3<double&, float&, short int&>::vector_data3(const double&, const float&, const short int&)’
13/home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/detail/preprocessed/vector10.hpp:207:48: note: candidates are:
14/home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/detail/preprocessed/vector10.hpp:191:9: note: boost::fusion::vector_data3<T0, T1, T2>::vector_data3(const boost::fusion::vector_data3<T0, T1, T2>&) [with T0 = double&, T1 = float&, T2 = short int&, boost::fusion::vector_data3<T0, T1, T2> = boost::fusion::vector_data3<double&, float&, short int&>]
15/home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/detail/preprocessed/vector10.hpp:191:9: note: candidate expects 1 argument, 3 provided
16/home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/detail/preprocessed/vector10.hpp:188:9: note: boost::fusion::vector_data3<T0, T1, T2>::vector_data3(typename boost::fusion::detail::call_param<T0>::type, typename boost::fusion::detail::call_param<T1>::type, typename boost::fusion::detail::call_param<T2>::type) [with T0 = double&, T1 = float&, T2 = short int&, typename boost::fusion::detail::call_param<T0>::type = double&, typename boost::fusion::detail::call_param<T1>::type = float&, typename boost::fusion::detail::call_param<T2>::type = short int&]
17/home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/detail/preprocessed/vector10.hpp:188:9: note: no known conversion for argument 1 from ‘const double’ to ‘double&’
18/home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/detail/preprocessed/vector10.hpp:186:9: note: boost::fusion::vector_data3<T0, T1, T2>::vector_data3() [with T0 = double&, T1 = float&, T2 = short int&]
19/home/falcou/Documents/dev/boost-trunk/boost/fusion/container/vector/detail/preprocessed/vector10.hpp:186:9: note: candidate expects 0 arguments, 3 provided