Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-09-21 11:06:27


From: "Peter Dimov" <pdimov_at_[hidden]>

> From: "David Abrahams" <dave_at_[hidden]>
> > > A good idea, although the correct test is
> 'has_virtual_destructor<Base>',
> > I
> > > think.
> >
> > Yes, but we don't know how to implement that, do we?
>
> Yep. Isn't one of the goals of the type_traits library/extension proposal
to
> provide things that we can't implement, like has_trivial_destructor or
> is_POD?

Yes. Relying on those is fine for "the future", but our actual
implementation could do something today with is_polymorphic. FWIW.

-Dave

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


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