$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Brian McNamara (lorgon_at_[hidden])
Date: 2003-10-28 02:47:48
On Mon, Oct 27, 2003 at 05:49:33PM -0800, Eric Friedman wrote:
> Over the past few days, I've thought of implementing const_variant,
> which would provide the same interface as variant (indeed, variant would
> be likely implemented in terms of const_variant). However, as
> const_variant would not allow assignment, it would not have to deal with
> any of the double-storage, temporary heap backup, etc. solutions.
Woohoo!
(It isn't apparent to me that const_variant would be at all useful in the
implementation of variant, but I could easily be wrong.)
Regardless, I do think const_variant is a good idea in its own right; I
can already forsee myself using such a class in the future.
-- -Brian McNamara (lorgon_at_[hidden])