$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-07-05 17:38:58
Matt Calabrese wrote:
> On 7/4/06, Thorsten Ottosen <thorsten.ottosen_at_[hidden]> wrote:
>
>>I think the idea of specializing the entire container library is very
>>bad, to say the least. For example, std::vector< std::vector<
>>clone_ptr<T> > > will still behave like a super slow beast without
>>move-semantics.
> Optimization is fine, and again, all of this allows for just as efficient
> code as ptr_containers, but the difference here is that the syntax for doing
> so is consistent with the rest of the language and is much easier to use in
> order to produce efficient generic code,
I can't imagine what kind of generic code you're talking about.
> and it doesn't require the user to
> learn additional container types. To me it seems win-win for almost all
> uses, having very few down-sides.
If you not willing to accept that value-based programming and OO
programming are different disciplines, we will never agree on this one.
Period.
-Thorsten