
10 Jul
2006
10 Jul
'06
12:50 p.m.
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