|
Boost : |
From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2003-09-03 18:27:54
"Hurd, Matthew" <hurdm_at_[hidden]> wrote in message > I use optional<T> quite
a bit and am glad T and optional<T> are different.
> Saves my bacon when I do silly things, especially when something
transitions
> from a T to an optional<T>. Strongly typed maintenance is something I'm
> thankful for.
>
> T* and optional<T> substitutability seems fine to me.
By the way, could optional<T> use variant<T, SomeInsipidType> as a backend?
Andrei
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk