pelib
2.0.0
|
#include <constraints.hpp>
Public Member Functions | |
Can_compare () | |
Static Public Member Functions | |
static void | constraints (T1 a, T2 b) |
Yields an error if an instance of T1 cannot be compared (equality, difference and inferiority) to an instance of T2 . See http://www.stroustrup.com/bs_faq2.html#constraints
Definition at line 37 of file constraints.hpp.
Can_compare< T1, T2 >::Can_compare | ( | ) | [inline] |
Definition at line 39 of file constraints.hpp.
static void Can_compare< T1, T2 >::constraints | ( | T1 | a, |
T2 | b | ||
) | [inline, static] |
Definition at line 38 of file constraints.hpp.