Author
anonymous
over 5 years ago
Language
C++
Compiler
clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 3c2a7bd2867eda29da8ddf5f2db2e006d504e611)
Options
Warnings
Boost 1.73.0
C++17(GNU)
no pedantic
Author
anonymous
over 5 years ago
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=gnu++17 In file included from prog.cc:2:
In file included from /opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/include/make_vector.hpp:11:
In file included from /opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/generation/make_vector.hpp:11:
In file included from /opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/vector/vector.hpp:29:
In file included from /opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/vector/detail/at_impl.hpp:12:
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/vector/detail/value_at_impl.hpp:51:21: error: no matching function for call to 'value_at_impl'
vector_detail::value_at_impl<N::value>(boost::declval<Sequence*>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/support/config.hpp:119:18: note: expanded from macro 'BOOST_FUSION_DECLTYPE_N3031'
decltype parenthesized_expr
^~~~~~~~~~~~~~~~~~
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/vector/detail/deref_impl.hpp:33:61: note: in instantiation of template class 'boost::fusion::extension::value_at_impl<boost::fusion::vector_tag>::apply<const boost::fusion::vector<>, mpl_::int_<0>>' requested here
typedef typename value_at_impl<vector_tag>::template apply<vector, index>::type element;
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/iterator/deref.hpp:52:15: note: in instantiation of template class 'boost::fusion::extension::deref_impl<boost::fusion::vector_iterator_tag>::apply<boost::fusion::vector_iterator<const boost::fusion::vector<>, 0>>' requested here
: extension::deref_impl<typename detail::tag_of<Iterator>::type>::
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/iterator/deref.hpp:68:32: note: in instantiation of template class 'boost::fusion::result_of::deref<boost::fusion::vector_iterator<const boost::fusion::vector<>, 0>>' requested here
inline typename result_of::deref<Iterator>::type
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/map/detail/map_impl.hpp:112:21: note: while substituting deduced template arguments into function template 'operator*' [with Iterator = boost::fusion::vector_iterator<const boost::fusion::vector<>, 0>]
, element(*iter)
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/map/map.hpp:73:13: note: in instantiation of function template specialization 'boost::fusion::detail::map_impl<0, boost::fusion::pair<int, boost::fusion::vector<>>>::map_impl<boost::fusion::vector_iterator<const boost::fusion::vector<>, 0>>' requested here
: base_type(begin(seq), detail::map_impl_from_iterator())
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/generation/make_map.hpp:59:16: note: in instantiation of function template specialization 'boost::fusion::map<boost::fusion::pair<int, boost::fusion::vector<>>>::map<boost::fusion::vector<>, void>' requested here
return result_type(arg...);
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/vector/detail/value_at_impl.hpp:38:26: note: candidate template ignored: could not match 'store' against 'vector'
mpl::identity<U> value_at_impl(store<N, U> const volatile*);
^
In file included from prog.cc:1:
In file included from /opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/include/make_map.hpp:11:
In file included from /opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/generation/make_map.hpp:11:
In file included from /opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/map/map.hpp:24:
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/map/detail/map_impl.hpp:112:21: error: indirection requires pointer operand ('const boost::fusion::vector_iterator<const boost::fusion::vector<>, 0>' invalid)
, element(*iter)
^~~~~
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/map/map.hpp:73:13: note: in instantiation of function template specialization 'boost::fusion::detail::map_impl<0, boost::fusion::pair<int, boost::fusion::vector<>>>::map_impl<boost::fusion::vector_iterator<const boost::fusion::vector<>, 0>>' requested here
: base_type(begin(seq), detail::map_impl_from_iterator())
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/fusion/container/generation/make_map.hpp:59:16: note: in instantiation of function template specialization 'boost::fusion::map<boost::fusion::pair<int, boost::fusion::vector<>>>::map<boost::fusion::vector<>, void>' requested here
return result_type(arg...);
^
2 errors generated.
Exit Code:
1