| 1 | In file included from /usr/include/boost/fusion/container/map/map_fwd.hpp:24:0,
|
|---|
| 2 | from /usr/include/boost/fusion/container/map/map.hpp:10,
|
|---|
| 3 | from /usr/include/boost/fusion/container/map.hpp:10,
|
|---|
| 4 | from /usr/include/boost/fusion/include/map.hpp:10,
|
|---|
| 5 | from fusion_map.cpp:2:
|
|---|
| 6 | /usr/include/boost/fusion/container/map/detail/map_impl.hpp: In instantiation of ‘struct boost::fusion::detail::map_impl<2, boost::fusion::pair<main()::foo, int [2]>, boost::fusion::pair<main()::bloog, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >’:
|
|---|
| 7 | /usr/include/boost/fusion/container/map/detail/map_impl.hpp:51:12: recursively required from ‘struct boost::fusion::detail::map_impl<1, boost::fusion::pair<main()::bleh, int>, boost::fusion::pair<main()::foo, int [2]>, boost::fusion::pair<main()::bloog, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >’
|
|---|
| 8 | /usr/include/boost/fusion/container/map/detail/map_impl.hpp:51:12: required from ‘struct boost::fusion::detail::map_impl<0, boost::fusion::pair<main()::blah, short int>, boost::fusion::pair<main()::bleh, int>, boost::fusion::pair<main()::foo, int [2]>, boost::fusion::pair<main()::bloog, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >’
|
|---|
| 9 | /usr/include/boost/fusion/container/map/map.hpp:45:12: required from ‘struct boost::fusion::map<boost::fusion::pair<main()::blah, short int>, boost::fusion::pair<main()::bleh, int>, boost::fusion::pair<main()::foo, int [2]>, boost::fusion::pair<main()::bloog, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >’
|
|---|
| 10 | fusion_map.cpp:23:12: required from here
|
|---|
| 11 | /usr/include/boost/fusion/container/map/detail/map_impl.hpp:111:20: error: function returning an array
|
|---|
| 12 | value_type get_val(mpl::identity<key_type>);
|
|---|
| 13 | ^
|
|---|
| 14 | /usr/include/boost/fusion/container/map/detail/map_impl.hpp:113:20: error: function returning an array
|
|---|
| 15 | value_type get_val(mpl::identity<key_type>) const;
|
|---|
| 16 | ^
|
|---|
| 17 | fusion_map.cpp: In function ‘int main()’:
|
|---|
| 18 | fusion_map.cpp:23:36: error: no matching function for call to ‘boost::fusion::map<boost::fusion::pair<main()::blah, short int>, boost::fusion::pair<main()::bleh, int>, boost::fusion::pair<main()::foo, int [2]>, boost::fusion::pair<main()::bloog, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::map(<brace-enclosed initializer list>)’
|
|---|
| 19 | test_t test{1, 2, {}, {"hello"}};
|
|---|
| 20 | ^
|
|---|
| 21 | fusion_map.cpp:23:36: note: candidates are:
|
|---|
| 22 | In file included from /usr/include/boost/fusion/container/map.hpp:10:0,
|
|---|
| 23 | from /usr/include/boost/fusion/include/map.hpp:10,
|
|---|
| 24 | from fusion_map.cpp:2:
|
|---|
| 25 | /usr/include/boost/fusion/container/map/map.hpp:88:9: note: boost::fusion::map<T>::map(First&&, T_&& ...) [with First = int; T_ = {}; T = {boost::fusion::pair<main()::blah, short int>, boost::fusion::pair<main()::bleh, int>, boost::fusion::pair<main()::foo, int [2]>, boost::fusion::pair<main()::bloog, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >}]
|
|---|
| 26 | map(First&& first, T_&&... rest)
|
|---|
| 27 | ^
|
|---|
| 28 | /usr/include/boost/fusion/container/map/map.hpp:88:9: note: candidate expects 1 argument, 4 provided
|
|---|
| 29 | /usr/include/boost/fusion/container/map/map.hpp:83:9: note: boost::fusion::map<T>::map(const First&, const T_& ...) [with First = int; T_ = {}; T = {boost::fusion::pair<main()::blah, short int>, boost::fusion::pair<main()::bleh, int>, boost::fusion::pair<main()::foo, int [2]>, boost::fusion::pair<main()::bloog, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >}]
|
|---|
| 30 | map(First const& first, T_ const&... rest)
|
|---|
| 31 | ^
|
|---|
| 32 | /usr/include/boost/fusion/container/map/map.hpp:83:9: note: candidate expects 1 argument, 4 provided
|
|---|
| 33 | /usr/include/boost/fusion/container/map/map.hpp:77:9: note: template<class Sequence> boost::fusion::map<T>::map(Sequence&&, typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence> >::type*)
|
|---|
| 34 | map(Sequence&& seq
|
|---|
| 35 | ^
|
|---|
| 36 | /usr/include/boost/fusion/container/map/map.hpp:77:9: note: template argument deduction/substitution failed:
|
|---|
| 37 | fusion_map.cpp:23:36: note: mismatched types ‘typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type*’ and ‘int’
|
|---|
| 38 | test_t test{1, 2, {}, {"hello"}};
|
|---|
| 39 | ^
|
|---|
| 40 | In file included from /usr/include/boost/fusion/container/map.hpp:10:0,
|
|---|
| 41 | from /usr/include/boost/fusion/include/map.hpp:10,
|
|---|
| 42 | from fusion_map.cpp:2:
|
|---|
| 43 | /usr/include/boost/fusion/container/map/map.hpp:71:9: note: template<class Sequence> boost::fusion::map<T>::map(Sequence&, typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence> >::type*)
|
|---|
| 44 | map(Sequence& seq
|
|---|
| 45 | ^
|
|---|
| 46 | /usr/include/boost/fusion/container/map/map.hpp:71:9: note: template argument deduction/substitution failed:
|
|---|
| 47 | fusion_map.cpp:23:36: note: mismatched types ‘typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type*’ and ‘int’
|
|---|
| 48 | test_t test{1, 2, {}, {"hello"}};
|
|---|
| 49 | ^
|
|---|
| 50 | In file included from /usr/include/boost/fusion/container/map.hpp:10:0,
|
|---|
| 51 | from /usr/include/boost/fusion/include/map.hpp:10,
|
|---|
| 52 | from fusion_map.cpp:2:
|
|---|
| 53 | /usr/include/boost/fusion/container/map/map.hpp:65:9: note: template<class Sequence> boost::fusion::map<T>::map(const Sequence&, typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence> >::type*)
|
|---|
| 54 | map(Sequence const& seq
|
|---|
| 55 | ^
|
|---|
| 56 | /usr/include/boost/fusion/container/map/map.hpp:65:9: note: template argument deduction/substitution failed:
|
|---|
| 57 | fusion_map.cpp:23:36: note: mismatched types ‘typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type*’ and ‘int’
|
|---|
| 58 | test_t test{1, 2, {}, {"hello"}};
|
|---|
| 59 | ^
|
|---|
| 60 | In file included from /usr/include/boost/fusion/container/map.hpp:10:0,
|
|---|
| 61 | from /usr/include/boost/fusion/include/map.hpp:10,
|
|---|
| 62 | from fusion_map.cpp:2:
|
|---|
| 63 | /usr/include/boost/fusion/container/map/map.hpp:60:9: note: boost::fusion::map<T>::map(boost::fusion::map<T>&&) [with T = {boost::fusion::pair<main()::blah, short int>, boost::fusion::pair<main()::bleh, int>, boost::fusion::pair<main()::foo, int [2]>, boost::fusion::pair<main()::bloog, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >}]
|
|---|
| 64 | map(map&& seq)
|
|---|
| 65 | ^
|
|---|
| 66 | /usr/include/boost/fusion/container/map/map.hpp:60:9: note: candidate expects 1 argument, 4 provided
|
|---|
| 67 | /usr/include/boost/fusion/container/map/map.hpp:56:9: note: boost::fusion::map<T>::map(const boost::fusion::map<T>&) [with T = {boost::fusion::pair<main()::blah, short int>, boost::fusion::pair<main()::bleh, int>, boost::fusion::pair<main()::foo, int [2]>, boost::fusion::pair<main()::bloog, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >}]
|
|---|
| 68 | map(map const& seq)
|
|---|
| 69 | ^
|
|---|
| 70 | /usr/include/boost/fusion/container/map/map.hpp:56:9: note: candidate expects 1 argument, 4 provided
|
|---|
| 71 | /usr/include/boost/fusion/container/map/map.hpp:54:9: note: boost::fusion::map<T>::map() [with T = {boost::fusion::pair<main()::blah, short int>, boost::fusion::pair<main()::bleh, int>, boost::fusion::pair<main()::foo, int [2]>, boost::fusion::pair<main()::bloog, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >}]
|
|---|
| 72 | map() {}
|
|---|
| 73 | ^
|
|---|
| 74 | /usr/include/boost/fusion/container/map/map.hpp:54:9: note: candidate expects 0 arguments, 4 provided
|
|---|