Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

boost_bimap_unsuccessfull_bracket_operator_so

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1.32 sec, absolute service time: 1,47 sec 
edit mode |  history
Error(s):
In file included from source_file.cpp:2:
In file included from /usr/include/boost/bimap/bimap.hpp:61:
In file included from /usr/include/boost/bimap/detail/bimap_core.hpp:43:
In file included from /usr/include/boost/bimap/detail/manage_bimap_key.hpp:26:
In file included from /usr/include/boost/bimap/set_of.hpp:39:
In file included from /usr/include/boost/bimap/views/map_view.hpp:22:
/usr/include/boost/bimap/detail/map_view_base.hpp:351:9: error: no matching function for call to 'assertion_failed'
        BOOST_BIMAP_STATIC_ERROR( OPERATOR_BRACKET_IS_NOT_SUPPORTED, (Derived));
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/bimap/detail/debug/static_error.hpp:29:9: note: expanded from macro 'BOOST_BIMAP_STATIC_ERROR'
        BOOST_MPL_ASSERT_MSG(false,                                           \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/mpl/assert.hpp:434:48: note: expanded from macro 'BOOST_MPL_ASSERT_MSG'
#define BOOST_MPL_ASSERT_MSG( c, msg, types_ ) \
                                               ^
/usr/include/boost/mpl/assert.hpp:428:9: note: expanded from macro '\
BOOST_MPL_ASSERT_MSG_IMPL'
        boost::mpl::assertion_failed<(c)>( BOOST_PP_CAT(mpl_assert_arg,counter)::assert_arg() ) \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/mpl/assert.hpp:59:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
#   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
                                                         ^
source_file.cpp:18:21: note: in instantiation of function template specialization 'boost::bimaps::detail::non_mutable_data_unique_map_view_access<boost::bimaps::views::map_view<boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, boost::bimaps::multiset_of<int, std::__1::less<int> >, mpl_::na, mpl_::na, mpl_::na> >, boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, boost::bimaps::multiset_of<int, std::__1::less<int> >, mpl_::na, mpl_::na, mpl_::na> >::operator[]<int>' requested here
        mapping.left[it] = it;
                    ^
/usr/include/boost/mpl/assert.hpp:82:5: note: candidate function [with C = false] not viable: no known conversion from 'boost::mpl::failed ************(BIMAP_STATIC_ERROR__OPERATOR_BRACKET_IS_NOT_SUPPORTED::************)(boost::bimaps::views::map_view<boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, boost::bimaps::multiset_of<int, std::__1::less<int> >, mpl_::na, mpl_::na, mpl_::na> >)' to 'typename assert<false>::type' (aka 'mpl_::assert<false>') for 1st argument
int assertion_failed( typename assert<C>::type );
    ^
1 error generated.

        

    
                
λ
.NET NoSQL database for rapid development