Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2002-08-30 10:06:58


Carlo Wood wrote:
>
> std::string demangle(char const* t_i)
> {
> std::string t_o;
> demangle(t_o, t_i);
> return t_o;
> }
>
> Note these wrappers will not cause extra string copy constructors
> to be called, as the standard allows (demands?) to skip that.

Allows: yes - demands: no. For more information, read my postings about
the NRVO or have a look at operators_1_28_0.patch.gz in the boost files
section.

Regards, Daniel

--
Daniel Frey
aixigo AG - financial training, research and technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: daniel.frey_at_[hidden], web: http://www.aixigo.de

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk