Use allocator_traits when appropriate.

This commit is contained in:
jzmaddock
2020-12-14 19:56:13 +00:00
parent b42ec73c4d
commit 72d06f0786

View File

@ -61,7 +61,7 @@ public:
typedef const_iterator iterator;
typedef typename std::iterator_traits<
BidiIterator>::difference_type difference_type;
typedef typename Allocator::size_type size_type;
typedef typename std::allocator_traits<Allocator>::size_type size_type;
typedef Allocator allocator_type;
typedef typename std::iterator_traits<
BidiIterator>::value_type char_type;