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


Struct template on_codomain_model<Type, true>

boost::icl::interval_base_map::on_codomain_model<Type, true>


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

template<typename Type> 
struct on_codomain_model<Type, true> {
  // types
  typedef Type::interval_type              interval_type;             
  typedef Type::codomain_type              codomain_type;             
  typedef Type::segment_type               segment_type;              
  typedef Type::codomain_combine           codomain_combine;          
  typedef Type::inverse_codomain_intersect inverse_codomain_intersect;

  // public static functions
  static void add(Type &, interval_type &, const codomain_type &, 
                  const codomain_type &);


on_codomain_model public static functions

  1. static void add(Type & intersection, interval_type & common_interval, 
                    const codomain_type & flip_value, 
                    const codomain_type & co_value);