$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2007-10-21 17:48:45
Mathias Gaunard wrote:
> The problem with small object optimization is that you get the same
> issue that boost.variant has: it's hard to maintain the never-empty
> guarantee in operator=,
Neither Boost.Any nor this optional_poly have a never-empty guarantee,
though. Which makes = a lot easier, if you're satisfied with the Basic
Guarantee.
On the other hand, a poly would need a never-empty guarantee, thus
making an optional<poly> much more complex than an optional_poly.
Sebastian Redl