
17 Feb
2005
17 Feb
'05
11:42 a.m.
"Joe Gottman" <jgottman@carolina.rr.com> escribió en el mensaje news:cv0qn4$b8j$1@sea.gmane.org...
"Fernando Cacciola" <fernando_cacciola@hotmail.com> wrote in message news:cuvnj8$urr$1@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