[Patch] Resolve libstdc++/30449

Paolo Carlini pcarlini@suse.de
Mon Apr 30 13:08:00 GMT 2007


Paolo Carlini wrote:

>2007-04-30  Paolo Carlini  <pcarlini@suse.de>
>
>	PR libstdc++/30449 (equal)
>	* include/bits/stl_algobase.h (struct __niter_base): Add.
>	(copy(_II, _II, _OI), copy_backward(_BI1, _BI1, _BI2),
>	fill(_ForwardIterator, _ForwardIterator, const _Tp&),
>	fill_n(_OI, _Size, const _Tp&), equal(_II1, _II1, _II2)):
>	Use it.
>	(struct __copy_normal, __copy_backward_normal,
>	struct __fill_normal, struct __fill_n_normal): Remove.
>	(struct __equal, struct __equal_aux): Add.
>	* include/bits/stl_iterator.h: Add _Iterator_type typedef.
>
>	* include/bits/stl_algobase.h (__fill_aux(wchar_t*,
>	wchar_t*, wchar_t), __fill_n_aux(wchar_t*, _Size, wchar_t)):
>	Remove.
>
>	* testsuite/23_containers/requirements/sequences/dr438/vector/
>	constructor_1_neg.cc: Adjust dg-error line number.
>	* testsuite/23_containers/requirements/sequences/dr438/vector/
>	constructor_2_neg.cc: Likewise.
>  
>
I'm committing the below slight variant, instead. Tested x86/x86_64-linux.

Paolo.

//////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_30449_final_2
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070430/7ee87530/attachment.ksh>


More information about the Libstdc++ mailing list