Boost logo

Boost :

From: Brock Peabody (brock.peabody_at_[hidden])
Date: 2005-10-17 15:16:46

> On Behalf Of Leo Goodstadt

> The easiest solution to disambiguate, would be to force all binding
> rebinding of optional references to use distinct syntax (rebind) so
> this is clearly signalled at the minor cost of some syntactic
> This means that optional<T&> is no longer completely orthogonal to
> optional<T> in its syntax, but as that merely reflects the real
> differences in semantics, this should be an advantage not a

An easy way to do that would be to disallow optional<T&> and spell it
instead as optional<reference_wrapper<T> > as someone suggested the last
time this was discussed.

Boost list run by bdawes at, gregod at, cpdaniel at, john at