Boost logo

Boost :

From: Simon Richter (Simon.Richter_at_[hidden])
Date: 2006-07-10 08:50:20


Hello,

Gennaro Prota schrieb:

> I don't know how and how much boost:optional<> overlaps with this

[...]

> T m_value;

That means that T needs to be default-constructible, which for more
complex types T means that T needs to be capable of knowing whether it
is in an uninitialized state, which kind of makes this class pretty
pointless.

    Simon


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk