|
Boost : |
From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 1999-07-01 08:12:44
Dave Abrahams wrote:
>
> > Dave Abrahams wrote:
> >
> >> 2. why the implementation is stored as a reference. While the code looks
> >> correct, reference members are a dicey proposition in general, and hard to
> >> get right.
> >
> > Why ?
>
> Because the default assignment semantics are seldom what you want.
1) here the code redefine the default assignment semantics
2) there is no default assignment semantics at all
-- Valentin Bonnard ------------------------------------------------------------------------ eGroups.com home: http://www.egroups.com/group/boost http://www.egroups.com - Simplifying group communications
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk