$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2004-01-21 19:13:34
Daniel James wrote:
> On Wed, 21 Jan 2004 16:01:56 +0100, Daniel Wallin wrote:
>
>
>>Please present _real_ common use cases where this is needed,
>>and where move_ptr can't be replaced with shared_ptr.
>
>
> How about writing wrappers around C libraries which return pointers? You
> always need a custom deleter for that. Of course, you could use a
> shared_ptr, but Howard Hinnant's example (for implementing shared_ptr) is
> possibly the only case when that isn't true.
OK, agreed.
-- Daniel Wallin