...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::dynamic_interval_traits
// In header: <boost/icl/dynamic_interval_traits.hpp> template<typename Type> struct dynamic_interval_traits { // types typedef Type::domain_type domain_type; typedef Type::domain_compare domain_compare; // public static functions static Type construct(const domain_type &, const domain_type &, interval_bounds); static Type construct_bounded(const bounded_value< domain_type > &, const bounded_value< domain_type > &); };
dynamic_interval_traits
public static functionsstatic Type construct(const domain_type & lo, const domain_type & up, interval_bounds bounds);
static Type construct_bounded(const bounded_value< domain_type > & lo, const bounded_value< domain_type > & up);