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