
3 Jun
2007
3 Jun
'07
3:37 p.m.
Aaron W. LaFramboise wrote:
Does Boost have some sort of uninitialized storage container?
...
A TR1 array<T, sizeof(T)> almost works, except for these points: (1) It doesn't provide proper alignment guarantees. (2) It doesn't call the destructor when it is destroyed.
So, does Boost have any such thing?
I think that optional<T> fits your description.