Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Struct template static_interval<IntervalT, true, PretendedBounds, RepresentedBounds>

boost::icl::static_interval<IntervalT, true, PretendedBounds, RepresentedBounds>


// In header: <boost/icl/interval.hpp>

template<typename IntervalT, bound_type PretendedBounds, 
         bound_type RepresentedBounds> 
struct static_interval<IntervalT, true, PretendedBounds, RepresentedBounds> {
  // types
  typedef interval_traits< IntervalT >::domain_type domain_type;

  // public static functions
  static IntervalT construct(const domain_type &, const domain_type &);


static_interval public static functions

  1. static IntervalT construct(const domain_type & low, const domain_type & up);