Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-08-28 07:53:45


"Philippe A. Bouchard" <philippeb_at_[hidden]> wrote:
> Here is ptr.hpp & tree_traits.hpp simplified, and ptr_test.cpp as an
> example:
> http://groups.yahoo.com/group/boost/files/ptr/

Maybe it would be better to have complex_tree as the default one so that
you'll have more compile-time errors if you forgot to specialize
tree_trait<T> for non polymorphic type T and trying to use ptr<T> by
afterwards.

What do you think?

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