#include <stlsoft/util/constraints.hpp>
void
.
T | The type to be constrained |
void
.It may be used as follows:
typedef std::vector<int> vec_t; stlsoft::must_be_pod_or_void<int*>(); // Ok stlsoft::must_be_pod_or_void<vec_t>(); // Compile error! stlsoft::must_be_pod_or_void<double>(); // Ok stlsoft::must_be_pod_or_void<void>(); // Ok
Public Types | |
typedef int(* | func_ptr_type )() |
Static Public Member Functions | |
static func_ptr_type | constraint () |
Public Attributes | |
T | t |
int | i |