...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; // public member functions bounded_value(const domain_type &, interval_bounds); domain_type value() const; interval_bounds bound() const; };
bounded_value
public member functionsbounded_value(const domain_type & value, interval_bounds bound);
domain_type value() const;
interval_bounds bound() const;