Adding moving to basic_string
Tue May 17 14:51:00 GMT 2005
On 5/17/05, chris jefferson <email@example.com> wrote:
> Kenneth Duda wrote:
> >Hi everyone,
> >Here is a solution to
> > s = a + b + c + d
> >that boils down to one malloc followed by 4 memcpy's.
> The reason that this, and many other possible cool optimisations can't
> be implemented is by my reading the standard imposes exactly what the
> return conditions of various functions must be.
Bummer! Thanks for the detailed response.
More information about the Libstdc++