"Peter Dimov" <[EMAIL PROTECTED]> writes:

> Currently I use a conservative scan that assumes that shared_ptr instances
> have a layout of
>
> T * px;
> counted_base * pi;
> int id;

It's easy enough to enforce that by inheriting from a POD
struct. Don't know about the next part, though:

> with pointers being aligned on a DWORD boundary. 

-- 
                       David Abrahams
   [EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to