...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::interval_bounds
// In header: <boost/icl/interval_bounds.hpp> class interval_bounds { public: // public member functions BOOST_STATIC_CONSTANT(bound_type, static_open = 0); BOOST_STATIC_CONSTANT(bound_type, static_left_open = 1); BOOST_STATIC_CONSTANT(bound_type, static_right_open = 2); BOOST_STATIC_CONSTANT(bound_type, static_closed = 3); BOOST_STATIC_CONSTANT(bound_type, dynamic = 4); BOOST_STATIC_CONSTANT(bound_type, undefined = 5); BOOST_STATIC_CONSTANT(bound_type, _open = 0); BOOST_STATIC_CONSTANT(bound_type, _left_open = 1); BOOST_STATIC_CONSTANT(bound_type, _right_open = 2); BOOST_STATIC_CONSTANT(bound_type, _closed = 3); BOOST_STATIC_CONSTANT(bound_type, _right = 1); BOOST_STATIC_CONSTANT(bound_type, _left = 2); BOOST_STATIC_CONSTANT(bound_type, _all = 3); interval_bounds(); explicit interval_bounds(bound_type); interval_bounds all() const; interval_bounds left() const; interval_bounds right() const; interval_bounds reverse_left() const; interval_bounds reverse_right() const; bound_type bits() const; // public static functions static interval_bounds open(); static interval_bounds left_open(); static interval_bounds right_open(); static interval_bounds closed(); // public data members bound_type _bits; };
interval_bounds
public member functionsBOOST_STATIC_CONSTANT(bound_type, static_open = 0);
BOOST_STATIC_CONSTANT(bound_type, static_left_open = 1);
BOOST_STATIC_CONSTANT(bound_type, static_right_open = 2);
BOOST_STATIC_CONSTANT(bound_type, static_closed = 3);
BOOST_STATIC_CONSTANT(bound_type, dynamic = 4);
BOOST_STATIC_CONSTANT(bound_type, undefined = 5);
BOOST_STATIC_CONSTANT(bound_type, _open = 0);
BOOST_STATIC_CONSTANT(bound_type, _left_open = 1);
BOOST_STATIC_CONSTANT(bound_type, _right_open = 2);
BOOST_STATIC_CONSTANT(bound_type, _closed = 3);
BOOST_STATIC_CONSTANT(bound_type, _right = 1);
BOOST_STATIC_CONSTANT(bound_type, _left = 2);
BOOST_STATIC_CONSTANT(bound_type, _all = 3);
interval_bounds();
explicit interval_bounds(bound_type bounds);
interval_bounds all() const;
interval_bounds left() const;
interval_bounds right() const;
interval_bounds reverse_left() const;
interval_bounds reverse_right() const;
bound_type bits() const;
interval_bounds
public static functionsstatic interval_bounds open();
static interval_bounds left_open();
static interval_bounds right_open();
static interval_bounds closed();