I would like to propose the following helper that returns the address of
some polymorphic object's leftmost parent.  Useful when you want to find the
starting address of an allocated block given any other derived parent:
http://groups.yahoo.com/group/boost/files/shifted_ptr/pick_of.hpp



Philippe A. Bouchard




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

Reply via email to