Boost logo

Boost :

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


>Unless I know that equality_comparable and less_than_comparable have
>destructors, I can't use them as shown above. I suggest that we begin to
>attention to this little detail, and when trivial ctors or dtors are
>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, gregod at, cpdaniel at, john at