$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2003-02-10 18:07:23
David B. Held wrote:
[...]
> You might have to pull some tricks with the Ownership policy, I'm not
> sure. For conversions, the pointer casts should work, unless you need
> to do some tricks.
>
> Dave
As for conversions, I think I will use counted_base, but it seems the new
version of shared_count.cpp has changed counted_base to shared_count &
weak_count. Let's say I would like shifted_object<> to use sp_counted_base
also:
template <typename T>
shifted_object : sp_counted_base
{
T value_;
...
};
Would this be acceptable?
Philippe