In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:33: In file included from boost_1_58_0/boost/container/detail/type_traits.hpp:27: boost_1_58_0/boost/move/detail/type_traits.hpp:725:35: error: unknown type name 'bool_' static yes_type test(U&, bool_()))>* = 0); ^ boost_1_58_0/boost/move/detail/type_traits.hpp:725:40: error: expected ')' static yes_type test(U&, bool_()))>* = 0); ^ boost_1_58_0/boost/move/detail/type_traits.hpp:725:30: note: to match this '(' static yes_type test(U&, bool_()))>* = 0); ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:57: boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:37:12: error: unknown type name 'dont_care' typedef dont_care type; ^ boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: no template named 'has_member_function_callable_with_allocate'; did you mean 'intrusive::detail::has_member_function_callable_with_pointer_to'? struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intrusive::detail::has_member_function_callable_with_pointer_to boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT' #define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I' #define BOOST_MOVE_CAT_I(a, b) a ## b ^ :98:1: note: expanded from here has_member_function_callable_with_allocate ^ boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: 'intrusive::detail::has_member_function_callable_with_pointer_to' declared here BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to) ^ boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE' class TRAITS_NAME \ ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:57: boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: class template partial specialization of 'has_member_function_callable_with_pointer_to' must originally be declared in namespace 'detail' struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT' #define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I' #define BOOST_MOVE_CAT_I(a, b) a ## b ^ :98:1: note: expanded from here has_member_function_callable_with_allocate ^ boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: explicitly specialized declaration is here BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to) ^ boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE' class TRAITS_NAME \ ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:57: boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:153:87: error: expected '>' ( (::boost::move_detail::declval< FunWrap >(). ^ boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:153:87: error: type name requires a specifier or qualifier boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:153:87: error: expected ')' boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:153:48: note: to match this '(' ( (::boost::move_detail::declval< FunWrap >(). ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:64: boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:140:14: error: redefinition of 'FunWrapTmpl' struct FunWrapTmpl : Fun ^ boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:140:14: note: previous definition is here struct FunWrapTmpl : Fun ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:64: boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: no template named 'has_member_function_callable_with_destroy'; did you mean 'intrusive::detail::has_member_function_callable_with_pointer_to'? struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intrusive::detail::has_member_function_callable_with_pointer_to boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT' #define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I' #define BOOST_MOVE_CAT_I(a, b) a ## b ^ :98:1: note: expanded from here has_member_function_callable_with_destroy ^ boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: 'intrusive::detail::has_member_function_callable_with_pointer_to' declared here BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to) ^ boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE' class TRAITS_NAME \ ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:64: boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: class template partial specialization of 'has_member_function_callable_with_pointer_to' not in a namespace enclosing 'detail' struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT' #define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I' #define BOOST_MOVE_CAT_I(a, b) a ## b ^ :98:1: note: expanded from here has_member_function_callable_with_destroy ^ boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: explicitly specialized declaration is here BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to) ^ boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE' class TRAITS_NAME \ ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:64: boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: redefinition of 'has_member_function_callable_with_pointer_to' struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT' #define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I' #define BOOST_MOVE_CAT_I(a, b) a ## b ^ :98:1: note: expanded from here has_member_function_callable_with_destroy ^ boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: note: previous definition is here struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT' #define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I' #define BOOST_MOVE_CAT_I(a, b) a ## b ^ :98:1: note: expanded from here has_member_function_callable_with_allocate ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:71: boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:140:14: error: redefinition of 'FunWrapTmpl' struct FunWrapTmpl : Fun ^ boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:140:14: note: previous definition is here struct FunWrapTmpl : Fun ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:71: boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: no template named 'has_member_function_callable_with_construct'; did you mean 'intrusive::detail::has_member_function_callable_with_pointer_to'? struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intrusive::detail::has_member_function_callable_with_pointer_to boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT' #define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I' #define BOOST_MOVE_CAT_I(a, b) a ## b ^ :98:1: note: expanded from here has_member_function_callable_with_construct ^ boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: 'intrusive::detail::has_member_function_callable_with_pointer_to' declared here BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to) ^ boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE' class TRAITS_NAME \ ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:71: boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: class template partial specialization of 'has_member_function_callable_with_pointer_to' not in a namespace enclosing 'detail' struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT' #define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I' #define BOOST_MOVE_CAT_I(a, b) a ## b ^ :98:1: note: expanded from here has_member_function_callable_with_construct ^ boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: explicitly specialized declaration is here BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to) ^ boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE' class TRAITS_NAME \ ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: In file included from boost_1_58_0/boost/container/allocator_traits.hpp:71: boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: redefinition of 'has_member_function_callable_with_pointer_to' struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT' #define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I' #define BOOST_MOVE_CAT_I(a, b) a ## b ^ :98:1: note: expanded from here has_member_function_callable_with_construct ^ boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: note: previous definition is here struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT' #define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b) ^ boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I' #define BOOST_MOVE_CAT_I(a, b) a ## b ^ :98:1: note: expanded from here has_member_function_callable_with_allocate ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: boost_1_58_0/boost/container/allocator_traits.hpp:294:26: error: no template named 'has_member_function_callable_with_allocate' in namespace 'boost::container::container_detail'; did you mean 'intrusive::detail::has_member_function_callable_with_pointer_to'? const bool value = boost::container::container_detail:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intrusive::detail::has_member_function_callable_with_pointer_to boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: 'intrusive::detail::has_member_function_callable_with_pointer_to' declared here BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to) ^ boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE' class TRAITS_NAME \ ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: boost_1_58_0/boost/container/allocator_traits.hpp:295:10: error: too many template arguments for class template 'has_member_function_callable_with_pointer_to' has_member_function_callable_with_allocate ^ boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: template is declared here BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE' class TRAITS_NAME \ ^ In file included from test.cc:1: In file included from boost_1_58_0/boost/container/flat_map.hpp:24: boost_1_58_0/boost/container/allocator_traits.hpp:297:31: error: non-type template argument is not a constant expression container_detail::bool_ flag; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated.