From: Vaclav Vesely (vaclav.vesely_at_[hidden])
Date: 2006-03-10 03:12:06
When two optionals are swaped and only one is initialized, then wrapped
value in the uninitialized optional is constructed and that in initialized
one is destroyed. It's maybe not necessary. It should be sufficient and more
effective to swap optional_base's member (m_initialized and m_storage). Is
there any reason for this implementation?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk