$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Stefan Slapeta (stefan_nospam__at_[hidden])
Date: 2004-06-26 02:36:10
Daniel Wallin wrote:
> I don't necessarily think this is a good idea,
Anyway, it's an idea :) It's just that it maybe could simplify 99% of
the intrusive_ptr applications.
I also played around with making the concept extendable (optionally
forwarding the call again to 'external' intrusive_ptr_add_ref etc. after
handling the reference count) but I couldn't imagine any situation where
this would be useful.
> You can use CRTP here instead, to avoid the virtual
> destructor.
Thanks!
Stefan