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

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

Struct template mapping_pair

boost::icl::mapping_pair

Synopsis

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

template<typename DomainT, typename CodomainT> 
struct mapping_pair {
  // construct/copy/destruct
  mapping_pair();
  mapping_pair(const DomainT &, const CodomainT &);
  mapping_pair(const std::pair< DomainT, CodomainT > &);

  // public data members
  DomainT key;
  CodomainT data;
};

Description

mapping_pair public construct/copy/destruct

  1. mapping_pair();
  2. mapping_pair(const DomainT & key_value, const CodomainT & data_value);
  3. mapping_pair(const std::pair< DomainT, CodomainT > & std_pair);

PrevUpHomeNext