...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::icl::difference_type_of<boost::posix_time::ptime>
// In header: <boost/icl/ptime.hpp> struct difference_type_of<boost::posix_time::ptime> { // types typedef boost::posix_time::time_duration type; };