boost::has_trivial_destructor
// In header: <boost/interprocess/offset_ptr.hpp> template<typename T> struct has_trivial_destructor { };