id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13282,Allocator compilation problems with gcc 4.8.1,apmanol@…,Ion Gaztañaga,"Hello all, thanks for providing this great software. Just a remark, when I tried to use the allocators with gcc 4.8.x it fails during the instantiation. {{{ #include #include #include int foo() { using myset= std::set, boost::container::allocator>; myset test_set; return 1; } }}} fails with {{{ In file included from /opt/compiler-explorer/gcc-4.8.5/include/c++/4.8.5/set:60:0, from :1: /opt/compiler-explorer/gcc-4.8.5/include/c++/4.8.5/bits/stl_tree.h: In instantiation of 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_destroy_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = int; _Val = int; _KeyOfValue = std::_Identity; _Compare = std::less; _Alloc = boost::container::allocator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node*]': /opt/compiler-explorer/gcc-4.8.5/include/c++/4.8.5/bits/stl_tree.h:1127:23: required from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = int; _Val = int; _KeyOfValue = std::_Identity; _Compare = std::less; _Alloc = boost::container::allocator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node*]' /opt/compiler-explorer/gcc-4.8.5/include/c++/4.8.5/bits/stl_tree.h:671:28: required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = int; _Val = int; _KeyOfValue = std::_Identity; _Compare = std::less; _Alloc = boost::container::allocator]' /opt/compiler-explorer/gcc-4.8.5/include/c++/4.8.5/bits/stl_set.h:90:11: required from here /opt/compiler-explorer/gcc-4.8.5/include/c++/4.8.5/bits/stl_tree.h:421:2: error: 'std::_Rb_tree, std::less, boost::container::allocator >::_Node_allocator' has no member named 'destroy' _M_get_Node_allocator().destroy(__p); ^ Compiler exited with result code 1 }}}",Bugs,new,To Be Determined,container,Boost 1.64.0,Problem,,allocator,