commit e5fb5e8dc5d1b1ffeaa48cd1d05f76ee93bc377d
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Jun 18 10:02:15 2015 +0100
* include/debug/list (__gnu_debug::list): Use allocator-aware
_Safe_container base.
* include/debug/string (__gnu_debug::basic_string): Use
allocator-aware _Safe_container base for cxx11 ABI.
@@ -43,12 +43,12 @@ namespace __debug
class list
: public __gnu_debug::_Safe_container<
list<_Tp, _Allocator>, _Allocator,
- __gnu_debug::_Safe_node_sequence, false>,
+ __gnu_debug::_Safe_node_sequence>,
public _GLIBCXX_STD_C::list<_Tp, _Allocator>
{
- typedef _GLIBCXX_STD_C::list<_Tp, _Allocator> _Base;
+ typedef _GLIBCXX_STD_C::list<_Tp, _Allocator> _Base;
typedef __gnu_debug::_Safe_container<
- list, _Allocator, __gnu_debug::_Safe_node_sequence, false> _Safe;
+ list, _Allocator, __gnu_debug::_Safe_node_sequence> _Safe;
typedef typename _Base::iterator _Base_iterator;
typedef typename _Base::const_iterator _Base_const_iterator;
@@ -42,12 +42,13 @@ namespace __gnu_debug
class basic_string
: public __gnu_debug::_Safe_container<
basic_string<_CharT, _Traits, _Allocator>,
- _Allocator, _Safe_sequence, false>,
+ _Allocator, _Safe_sequence, bool(_GLIBCXX_USE_CXX11_ABI)>,
public std::basic_string<_CharT, _Traits, _Allocator>
{
typedef std::basic_string<_CharT, _Traits, _Allocator> _Base;
typedef __gnu_debug::_Safe_container<
- basic_string, _Allocator, _Safe_sequence, false> _Safe;
+ basic_string, _Allocator, _Safe_sequence, bool(_GLIBCXX_USE_CXX11_ABI)>
+ _Safe;
public:
// types: