$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2004-01-21 09:46:27
Bronek Kozicki wrote:
> On Tue, 20 Jan 2004 22:05:33 -0500, Howard Hinnant wrote:
>>One way to accommodate this need is to create different types like:
>>scoped_ptr<T>
>>scoped_array<T>
>>But I suggest an alternative interface (with similar functionality):
>>move_ptr<T>
>>move_ptr<T[]>
>
>
> ... which is more generic, and I like it :>>
How is this more generic? Like Howard already stated, it's just an
aesthetic advantage. Which, of course, is highly subjective. I'm not
saying I don't agree that it looks better, I just want to keep the
arguments for both ways sane.
-- Daniel Wallin