$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Phil Nash (phil.nash.lists_at_[hidden])
Date: 2002-04-19 14:25:32
> > int main()
> > {
> > shared_handle h(CreateHandle(), &CloseHandle );
> > shared_handle h2(h);
> > }
>
> It's worth noting that for anything that's a pointer, rather than a
> non-pointer type, we have this already.
Yes, in fact it was the original discussion about adding this feature to
shared_ptr and scoped_ptr last year that got me thinking about the more
general resource case.
Regards,
[)o
IhIL..