[libstdc++ PATCH] Deprecate basic_string::insert(iterator)

Doug Gregor dgregor@apple.com
Tue Jul 22 17:36:00 GMT 2003


This little patch deprecates the GNU extension that inserts a 
default-constructed character into a string if no character value is 
provided. The same type of extension was deprecated in 3.3 for vector 
et al, but this one was apparently missed.

Tested on powerpc-apple-darwin; no regressions. Okay?

	Doug


-------------- next part --------------
A non-text attachment was scrubbed...
Name: string_deprecate.patch
Type: application/octet-stream
Size: 2545 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030722/78b372b3/attachment.obj>
-------------- next part --------------


2003-07-22  Doug Gregor  <dgregor@apple.com.>

	* include/bits/basic_string.h (basic_string::insert): Deprecate
	GNU extension.


More information about the Gcc-patches mailing list