$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: brangdon_at_[hidden]
Date: 2001-11-21 15:47:12
In-Reply-To: <9so4et+loi7_at_[hidden]>
On Mon, 12 Nov 2001 09:23:41 -0000 Vladimir Prus (ghost_at_[hidden]) wrote:
> There are two problems, good solutions for which I'm yet to hear:
> [name clashes between sequence and iterator versions]
I guess we have to put the sequence algorithms into their own namespace.
> 2. What will you do about mutating algorithms?
> [Binding temporaries to non-const references]
In my view, sequence objects should be mutable in much the same way that
iterators are mutable. They should not be passed by reference. Then there
is no problem with temporaries.
I would no more write:
sort( Sequence &s );
then I would write:
sort( iterator &first, iterator &last );
-- Dave Harris