|
Boost : |
From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2004-06-02 03:05:02
sizeof (blah) is only vaguely related to the length of time it takes a copy
constructor to execute.
At Tuesday 2004-06-01 05:31, you wrote:
> > On second thought, I would like to change the above signature into:
> >
> > self_type& trim_left(const self_type& exclusions = self_type() ); // line
>97
> >
> > Taking the argument by const-reference does not pose a problem for the
> > vacpp compiler and AFAICT it's even better to take a const-reference as
> > copying the argument by value.
> >
> > toon
>
>No. sizeof(basic_cstring<>) is in most cases 8. I prefer to pass it by
>value.
>
>Gennadiy.
>
>
>
>_______________________________________________
>Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
"There oughta be a law"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk