...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::bounded_value
// In header: <boost/icl/interval_bounds.hpp> template<typename DomainT> class bounded_value { public: // types typedef DomainT domain_type; typedef bounded_value< DomainT > type; // construct/copy/destruct bounded_value(const domain_type &, interval_bounds); // public member functions domain_type value() const; interval_bounds bound() const; };