Commit 9191d641 by Thomas Kho Committed by Paolo Carlini

re PR libstdc++/23358 (_Destroy doesn't optimize for scalar types)

2005-08-23  Thomas Kho  <tkho@ucla.edu>

	PR libstdc++/23358
	* include/bits/stl_construct.h (_Destroy(_ForwardIterator,
	_ForwardIterator, allocator<_Tp>)): Removed unused template parameter.

From-SVN: r103393
parent 37b8a73b
2005-08-23 Thomas Kho <tkho@ucla.edu>
PR libstdc++/23358
* include/bits/stl_construct.h (_Destroy(_ForwardIterator,
_ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
2005-08-22 Geoffrey Keating <geoffk@apple.com>
* testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
......
......@@ -174,7 +174,7 @@ namespace std
__alloc.destroy(&*__first);
}
template<typename _ForwardIterator, typename _Allocator, typename _Tp>
template<typename _ForwardIterator, typename _Tp>
inline void
_Destroy(_ForwardIterator __first, _ForwardIterator __last,
allocator<_Tp>)
......
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