
25 Oct
2010
25 Oct
'10
10:19 a.m.
On Mon, Oct 25, 2010 at 6:11 PM, Alexander Churanov
2010/10/25 Dean Michael Berris
: I think what the OP was looking for is a move constructor for Boost.Optional which I don't think it supports (yet).
Isn't std::auto_ptr a suitable alternative for this case?
I'd think so, but the OP wants to avoid the heap allocation. -- Dean Michael Berris deanberris.com