[PATCH] Assign clean up

Nathan Myers ncm-nospam@cantrip.org
Mon Dec 17 21:41:00 GMT 2001


On Mon, Dec 17, 2001 at 09:44:30PM +0100, Paolo Carlini wrote:
> Hi,
> 
> this is a nice clean up suggested by Nathan a couple of days ago:
> assign(__s, __n) is more general than assign(__str, _pos, __n) and
> the latter can be implemented in terms of the former (*). I took the
> occasion to add that missing _Rep::_S_terminal at the end of the new
> string.
>
> This patch should be quite harmless IMHO, and therefore I
> tested it with a compiler a few days old. No regressions on my
> i686-pc-linux-gnu.
>
> Ok to apply?

Looks good to me.

Nathan Myers
ncm at cantrip dot org



More information about the Libstdc++ mailing list