$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Bronek Kozicki (brok_at_[hidden])
Date: 2004-01-20 11:31:53
On Mon, 19 Jan 2004 13:44:02 -0700, Jonathan Turkanis wrote:
> struct move_ptr_base {
I would add protected destructor to this class. To prevent users from
shooting their feet off. But I also think that this :
> class move_ptr : public detail::move_ptr_base {
... inheritance relationship is not really required, and deleter_holder
class could be move to boost::detail namespace, while stanadrd_deleter
could be placed somewhere near array_deleter. I would also like to see
null_deleter defined somewhere beside. Speaking about details: side
effect of lack of operator== and operator!= is that all non-null
move_ptr of the same type are equal. I do think that it would be
surprise for user.
B.