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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost