From: David Abrahams (dave_at_[hidden])
Date: 2005-10-24 13:23:54
"Fernando Cacciola" <fernando_cacciola_at_[hidden]> writes:
> So the only choices I see are:
> o = optional<T&>(rb).
> And I think I like the rebind() better.
One more reason to keep the latter: don't you want to be able to put
optional's in std::containers? I think it's important that they be
proper values; disabling assignment altogether would be bad, and I
don't think I want optional<T&>'s assignment operator to deep-copy the
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk