Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2000-08-27 05:16:01


Dave,

>Unless I know that equality_comparable and less_than_comparable have
trivial
>destructors, I can't use them as shown above. I suggest that we begin to
pay
>attention to this little detail, and when trivial ctors or dtors are
present
>n a class, we mention it in our documentation pages.

If this is a major concern and you want to be able to do compile time
asserts and other stuff on this, then how about specialising
boost::has_trivial_destructor etc? The principal down side is that it
introduces a dependency (on type_traits) that you may well not want....

- John.


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