Commit 2ae90de6 by Jonathan Wakely Committed by Jonathan Wakely

regex.h (match_results::size_type): Use allocator_traits.

	* include/bits/regex.h (match_results::size_type): Use
	allocator_traits.

From-SVN: r182645
parent b409bbe6
2011-12-23 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/regex.h (match_results::size_type): Use
allocator_traits.
2011-12-22 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/48362
......
......@@ -1490,8 +1490,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
typedef const_iterator iterator;
typedef typename std::iterator_traits<_Bi_iter>::difference_type
difference_type;
/* TODO: needs allocator_traits */
typedef typename _Allocator::size_type size_type;
typedef typename allocator_traits<_Allocator>::size_type
size_type;
typedef _Allocator allocator_type;
typedef typename std::iterator_traits<_Bi_iter>::value_type
char_type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment