$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2005-10-25 12:50:48
Yuval Ronen wrote:
> optional<T>(y).swap(o);
>
> or
>
> make_optional(y).swap(o);
>
> which is completely different...
which can be a terrible idea (it just occurred to me), depends on how
optional's swap is implemented, and if/how T can be efficiently swaped...