Boost logo

Boost :

From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2006-05-25 15:46:33


Fernando Cacciola wrote:
> make_optional(condition,value)

I think it would be best to also add such a constructor to optional
(that will accept a value and a condition). Sometimes it would be both
more convenient and more efficient this way. make_optional can simply
call this constructor. It would be even better if the value could also
be a parameter to T's constructor, including in_place. I hope I didn't
throw too much at you... :-)

Yuval


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