Instigate Open Source Documentation

instigate::stl::pair::requirements< T > Struct Template Reference

Requirements of the Pair Concept. More...

#include <_pair.hpp>

List of all members.

Public Member Functions

 requirements ()
 Constructor.

Static Public Member Functions

static void require_first_type ()
static void require_second_type ()
static void require_set_first (T &a, const typename instigate::stl::pair::interface< T >::first_type &f)
static void require_set_second (T &a, const typename instigate::stl::pair::interface< T >::second_type &s)


Detailed Description

template<typename T>
struct instigate::stl::pair::requirements< T >

Requirements of the Pair Concept.

This code will be compiled if and only if T is a model of the instigate::stl::pair concept.


Constructor & Destructor Documentation

template<typename T>
instigate::stl::pair::requirements< T >::requirements (  )  [inline]


Member Function Documentation

template<typename T>
static void instigate::stl::pair::requirements< T >::require_first_type (  )  [inline, static]

Require associated type first_type as nested typedef in instigate::stl::pair::interface

Referenced by instigate::stl::pair::requirements< T >::requirements().

template<typename T>
static void instigate::stl::pair::requirements< T >::require_second_type (  )  [inline, static]

Require associated type second_type as nested typedef in instigate::stl::pair::interface

Referenced by instigate::stl::pair::requirements< T >::requirements().

template<typename T>
static void instigate::stl::pair::requirements< T >::require_set_first ( T &  a,
const typename instigate::stl::pair::interface< T >::first_type &  f 
) [inline, static]

Require the set_first() method, which must be defined in the instigate::stl::pair::interface

References instigate::stl::pair::interface< T >::set_first().

Referenced by instigate::stl::pair::requirements< T >::requirements().

template<typename T>
static void instigate::stl::pair::requirements< T >::require_set_second ( T &  a,
const typename instigate::stl::pair::interface< T >::second_type &  s 
) [inline, static]

Require the set_second() method, which must be defined in the instigate::stl::pair::interface

References instigate::stl::pair::interface< T >::set_second().

Referenced by instigate::stl::pair::requirements< T >::requirements().


The documentation for this struct was generated from the following file:


© Instigate CJSC, Open Source