Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-08-26 01:43:44


Hi,

    hierarchy_traits<> was renamed to the shorter tree_traits<> and the
tree_type of ptr<T> can explicitly override the specialized
tree_traits<T>::type in this version:
ptr<int> p = new (rc()) int;
ptr<int, simple_tree> p = new (rc()) int;

    IMO it is better this way because you have more control over your code:
http://groups.yahoo.com/group/boost/files/ptr/

Philippe A. Bouchard


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk