#include <_pair.hpp>
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) |
This code will be compiled if and only if T is a model of the instigate::stl::pair concept.
| instigate::stl::pair::requirements< T >::requirements | ( | ) | [inline] |
Constructor.
Check the requirements of the instigate::stl::pair::interface
References CHECK, instigate::stl::pair::requirements< T >::require_first_type(), instigate::stl::pair::requirements< T >::require_second_type(), instigate::stl::pair::requirements< T >::require_set_first(), and instigate::stl::pair::requirements< T >::require_set_second().
| 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().
| 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().
| 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().
| 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().