1 | jhaigh@growler:~/tmp/tmp$ g++ -std=c++11 bimap_error.cpp
|
---|
2 | In file included from /usr/include/boost/bimap/bimap.hpp:61:0,
|
---|
3 | from /usr/include/boost/bimap.hpp:13,
|
---|
4 | from bimap_error.cpp:1:
|
---|
5 | /usr/include/boost/bimap/detail/bimap_core.hpp: In instantiation of ‘class boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >’:
|
---|
6 | /usr/include/boost/bimap/bimap.hpp:133:7: required from ‘class boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >’
|
---|
7 | bimap_error.cpp:5:106: required from here
|
---|
8 | /usr/include/boost/bimap/detail/bimap_core.hpp:410:7: error: no class template named ‘rebind’ in ‘boost::bimaps::detail::manage_additional_parameters<boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::case_SHA::allocator {aka struct boost::bimaps::with_info<int>}’
|
---|
9 | > core_type;
|
---|
10 | ^
|
---|
11 | /usr/include/boost/bimap/detail/bimap_core.hpp:417:49: error: no class template named ‘rebind’ in ‘boost::bimaps::detail::manage_additional_parameters<boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::case_SHA::allocator {aka struct boost::bimaps::with_info<int>}’
|
---|
12 | index<core_type, logic_left_tag>::type left_index;
|
---|
13 | ^
|
---|
14 | /usr/include/boost/bimap/detail/bimap_core.hpp:420:48: error: no class template named ‘rebind’ in ‘boost::bimaps::detail::manage_additional_parameters<boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::case_SHA::allocator {aka struct boost::bimaps::with_info<int>}’
|
---|
15 | index<core_type,logic_right_tag>::type right_index;
|
---|
16 | ^
|
---|
17 | /usr/include/boost/bimap/detail/bimap_core.hpp:434:13: error: no class template named ‘rebind’ in ‘boost::bimaps::detail::manage_additional_parameters<boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::case_SHA::allocator {aka struct boost::bimaps::with_info<int>}’
|
---|
18 | >::type relation_set_core_index;
|
---|
19 | ^
|
---|
20 | In file included from /usr/include/boost/mpl/aux_/integral_wrapper.hpp:22:0,
|
---|
21 | from /usr/include/boost/mpl/integral_c.hpp:32,
|
---|
22 | from /usr/include/boost/serialization/nvp.hpp:28,
|
---|
23 | from /usr/include/boost/bimap/bimap.hpp:57,
|
---|
24 | from /usr/include/boost/bimap.hpp:13,
|
---|
25 | from bimap_error.cpp:1:
|
---|
26 | /usr/include/boost/bimap/views/map_view.hpp: In instantiation of ‘struct boost::bimaps::detail::left_map_view_extra_typedefs<boost::bimaps::views::map_view<boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > > >’:
|
---|
27 | /usr/include/boost/bimap/bimap.hpp:133:7: required from ‘class boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >’
|
---|
28 | bimap_error.cpp:5:106: required from here
|
---|
29 | /usr/include/boost/bimap/views/map_view.hpp:135:14: error: no type named ‘reverse_iterator’ in ‘class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >’
|
---|
30 | public : BOOST_BIMAP_MAP_VIEW_EXTRA_TYPEDEFS_BODY(map_view_,left)
|
---|
31 | ^
|
---|
32 | /usr/include/boost/bimap/views/map_view.hpp:135:14: error: no type named ‘const_reverse_iterator’ in ‘class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >’
|
---|
33 | public : BOOST_BIMAP_MAP_VIEW_EXTRA_TYPEDEFS_BODY(map_view_,left)
|
---|
34 | ^
|
---|
35 | /usr/include/boost/bimap/views/map_view.hpp:135:14: error: no type named ‘key_compare’ in ‘class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >’
|
---|
36 | public : BOOST_BIMAP_MAP_VIEW_EXTRA_TYPEDEFS_BODY(map_view_,left)
|
---|
37 | ^
|
---|
38 | /usr/include/boost/bimap/views/map_view.hpp: In instantiation of ‘struct boost::bimaps::detail::right_map_view_extra_typedefs<boost::bimaps::views::map_view<boost::bimaps::relation::member_at::right, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > > >’:
|
---|
39 | /usr/include/boost/bimap/bimap.hpp:133:7: required from ‘class boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >’
|
---|
40 | bimap_error.cpp:5:106: required from here
|
---|
41 | /usr/include/boost/bimap/views/map_view.hpp:142:14: error: no type named ‘reverse_iterator’ in ‘class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::right, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >’
|
---|
42 | public : BOOST_BIMAP_MAP_VIEW_EXTRA_TYPEDEFS_BODY(map_view_,right)
|
---|
43 | ^
|
---|
44 | /usr/include/boost/bimap/views/map_view.hpp:142:14: error: no type named ‘const_reverse_iterator’ in ‘class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::right, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >’
|
---|
45 | public : BOOST_BIMAP_MAP_VIEW_EXTRA_TYPEDEFS_BODY(map_view_,right)
|
---|
46 | ^
|
---|
47 | /usr/include/boost/bimap/views/map_view.hpp:142:14: error: no type named ‘key_compare’ in ‘class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::right, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >’
|
---|
48 | public : BOOST_BIMAP_MAP_VIEW_EXTRA_TYPEDEFS_BODY(map_view_,right)
|
---|
49 | ^
|
---|
50 | In file included from /usr/include/boost/bimap.hpp:13:0,
|
---|
51 | from bimap_error.cpp:1:
|
---|
52 | /usr/include/boost/bimap/bimap.hpp: In instantiation of ‘class boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >’:
|
---|
53 | bimap_error.cpp:5:106: required from here
|
---|
54 | /usr/include/boost/bimap/bimap.hpp:187:36: error: no type named ‘iterator’ in ‘boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::left_map {aka class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >}’
|
---|
55 | left_map::iterator left_iterator;
|
---|
56 | ^
|
---|
57 | /usr/include/boost/bimap/bimap.hpp:189:36: error: no type named ‘const_iterator’ in ‘boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::left_map {aka class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >}’
|
---|
58 | left_map::const_iterator left_const_iterator;
|
---|
59 | ^
|
---|
60 | /usr/include/boost/bimap/bimap.hpp:192:36: error: no type named ‘iterator’ in ‘boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::right_map {aka class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::right, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >}’
|
---|
61 | right_map::iterator right_iterator;
|
---|
62 | ^
|
---|
63 | /usr/include/boost/bimap/bimap.hpp:194:36: error: no type named ‘const_iterator’ in ‘boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::right_map {aka class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::right, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >}’
|
---|
64 | right_map::const_iterator right_const_iterator;
|
---|
65 | ^
|
---|
66 | /usr/include/boost/bimap/bimap.hpp:197:36: error: no type named ‘reference’ in ‘boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::left_map {aka class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >}’
|
---|
67 | left_map::reference left_reference;
|
---|
68 | ^
|
---|
69 | /usr/include/boost/bimap/bimap.hpp:199:36: error: no type named ‘const_reference’ in ‘boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::left_map {aka class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >}’
|
---|
70 | left_map::const_reference left_const_reference;
|
---|
71 | ^
|
---|
72 | /usr/include/boost/bimap/bimap.hpp:202:36: error: no type named ‘reference’ in ‘boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::right_map {aka class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::right, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >}’
|
---|
73 | right_map::reference right_reference;
|
---|
74 | ^
|
---|
75 | /usr/include/boost/bimap/bimap.hpp:204:36: error: no type named ‘const_reference’ in ‘boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::right_map {aka class boost::bimaps::views::map_view<boost::bimaps::relation::member_at::right, boost::bimaps::detail::bimap_core<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> > >}’
|
---|
76 | right_map::const_reference right_const_reference;
|
---|
77 | ^
|
---|
78 | bimap_error.cpp: In function ‘void test()’:
|
---|
79 | bimap_error.cpp:5:106: error: no matching function for call to ‘boost::bimaps::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void> >::bimap()’
|
---|
80 | boost::bimap<int, int, boost::bimaps::left_based, boost::bimaps::with_info<int>, std::allocator<void>> map;
|
---|
81 | ^
|
---|
82 | bimap_error.cpp:5:106: note: candidate is:
|
---|
83 | In file included from /usr/include/boost/bimap.hpp:13:0,
|
---|
84 | from bimap_error.cpp:1:
|
---|
85 | /usr/include/boost/bimap/bimap.hpp:268:4: note: boost::bimaps::bimap<KeyTypeA, KeyTypeB, AP1, AP2, AP3>::bimap(const boost::bimaps::bimap<KeyTypeA, KeyTypeB, AP1, AP2, AP3>&) [with KeyTypeA = int; KeyTypeB = int; AP1 = boost::bimaps::left_based; AP2 = boost::bimaps::with_info<int>; AP3 = std::allocator<void>]
|
---|
86 | bimap(const bimap& x) :
|
---|
87 | ^
|
---|
88 | /usr/include/boost/bimap/bimap.hpp:268:4: note: candidate expects 1 argument, 0 provided
|
---|
89 | jhaigh@growler:~/tmp/tmp$
|
---|
90 | jhaigh@growler:~/tmp/tmp$ g++ --version
|
---|
91 | g++ (Debian 4.9.2-10) 4.9.2
|
---|
92 | Copyright (C) 2014 Free Software Foundation, Inc.
|
---|
93 | This is free software; see the source for copying conditions. There is NO
|
---|
94 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
---|
95 |
|
---|
96 | jhaigh@growler:~/tmp/tmp$
|
---|