#include <stlsoft/util/constraints.hpp>
T | The type to be constrained |
typedef std::vector<int> vec_t; stlsoft::must_subscript_as_decayable_pointer<int*>(); // Ok stlsoft::must_subscript_as_decayable_pointer<vec_t>(); // Compile error! stlsoft::must_subscript_as_decayable_pointer<double>(); // Compile error!