| Home | Libraries | People | FAQ | More

## Struct template dynamic_interval_traits<boost::icl::discrete_interval< DomainT, Compare >>

boost::icl::dynamic_interval_traits<boost::icl::discrete_interval< DomainT, Compare >>

## Synopsis

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

    template<typename DomainT, ICL_COMPARE Compare>
    struct dynamic_interval_traits<boost::icl::discrete_interval< DomainT, Compare >> {
      // types
      typedef dynamic_interval_traits                           type;
      typedef boost::icl::discrete_interval< DomainT, Compare > interval_type;
      typedef DomainT                                           domain_type;

      // public member functions
      typedef ICL_COMPARE_DOMAIN(Compare, DomainT);

      // public static functions
      static interval_type
      construct(const domain_type &, const domain_type &, interval_bounds);
      static interval_type
      construct_bounded(const bounded_value< DomainT > &,
                        const bounded_value< DomainT > &);
    };

## Description

### `dynamic_interval_traits` public member functions

1.     typedef ICL_COMPARE_DOMAIN(Compare, DomainT);

### `dynamic_interval_traits` public static functions

1.     static interval_type
       construct(const domain_type & lo, const domain_type & up,
                 interval_bounds bounds);

2.     static interval_type
       construct_bounded(const bounded_value< DomainT > & lo,
                         const bounded_value< DomainT > & up);