deque (__gnu_debug::deque): Make base class C++11 allocator aware.
* include/debug/deque (__gnu_debug::deque): Make base class C++11 allocator aware. From-SVN: r215223
This commit is contained in:
parent
a5d567ec32
commit
b6f866946b
|
@ -1,3 +1,8 @@
|
||||||
|
2014-09-12 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
|
* include/debug/deque (__gnu_debug::deque): Make base class C++11
|
||||||
|
allocator aware.
|
||||||
|
|
||||||
2014-09-12 Jonathan Wakely <jwakely@redhat.com>
|
2014-09-12 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
PR libstdc++/59603
|
PR libstdc++/59603
|
||||||
|
|
|
@ -43,12 +43,12 @@ namespace __debug
|
||||||
class deque
|
class deque
|
||||||
: public __gnu_debug::_Safe_container<
|
: public __gnu_debug::_Safe_container<
|
||||||
deque<_Tp, _Allocator>, _Allocator,
|
deque<_Tp, _Allocator>, _Allocator,
|
||||||
__gnu_debug::_Safe_sequence, false>,
|
__gnu_debug::_Safe_sequence>,
|
||||||
public _GLIBCXX_STD_C::deque<_Tp, _Allocator>
|
public _GLIBCXX_STD_C::deque<_Tp, _Allocator>
|
||||||
{
|
{
|
||||||
typedef _GLIBCXX_STD_C::deque<_Tp, _Allocator> _Base;
|
typedef _GLIBCXX_STD_C::deque<_Tp, _Allocator> _Base;
|
||||||
typedef __gnu_debug::_Safe_container<
|
typedef __gnu_debug::_Safe_container<
|
||||||
deque, _Allocator, __gnu_debug::_Safe_sequence, false> _Safe;
|
deque, _Allocator, __gnu_debug::_Safe_sequence> _Safe;
|
||||||
|
|
||||||
typedef typename _Base::const_iterator _Base_const_iterator;
|
typedef typename _Base::const_iterator _Base_const_iterator;
|
||||||
typedef typename _Base::iterator _Base_iterator;
|
typedef typename _Base::iterator _Base_iterator;
|
||||||
|
|
Loading…
Reference in New Issue