Boost C++ Libraries

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

PrevUpHomeNext

Class template bounded_value

boost::icl::bounded_value

Synopsis

// 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;
};

Description

bounded_value public construct/copy/destruct

  1. bounded_value(const domain_type & value, interval_bounds bound);

bounded_value public member functions

  1. domain_type value() const;
  2. interval_bounds bound() const;

PrevUpHomeNext