$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Incomplete types and intrusive_ptr
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-05-12 16:11:37
Dominique Devienne:
> Is it possible to achieve the ability of shared_ptr<T> to be used as a
> class member in a class declaration with an incomplete type T, with
> intrusive_ptr?
The usual approach is to declare:
class X;
void inrisuve_ptr_add_ref( X* );
void intrusive_ptr_release( X* );