Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-10-09 13:07:53


"David Abrahams" <dave_at_[hidden]> wrote:
> "Philippe A. Bouchard" <philippeb_at_[hidden]> writes:
>
> > Hi,
> >
> > In placed_ptr<> there is partial instanciations that detects whether
> > some type is polymorphic or not. Would you think this would be a useful
> > public trait?
> >
> >
http://groups.yahoo.com/group/boost/files/ptr/ct_collector/collector_traits.
> > hpp
>
> A. I don't see any such trait there.

struct placed_address in placed_ptr.hpp will narrow down the situation.
Sorry for the imprecision.

> B. There's already one in Boost.Python:
> see <boost/python/object/inheritance.hpp>

I didn't know, but it looks like is_polymorphic<int>::value won't work under
version 1.28.

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