Boost logo

Boost :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2005-02-17 06:42:59


"Joe Gottman" <jgottman_at_[hidden]> escribió en el mensaje
news:cv0qn4$b8j$1_at_sea.gmane.org...
>
> "Fernando Cacciola" <fernando_cacciola_at_[hidden]> wrote in message
> news:cuvnj8$urr$1_at_sea.gmane.org...
>>
>> [SNIP]
>
> void assign(argument_type val)
> {
> if (is_initialized) {
> get_impl() = val;
> } else {
> construct(val);
> }
> }
>
> Joe Gottman
Well, even if you were wrong about this form of aliasing (and you're not),
is clear that I must use this version anyway because I better be consistent
about using T's operator=() instead of T::T(T const&).
So good point, again ;)

Cheers

Fernando Cacciola


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