 |
Blaze 3.9
|
Go to the documentation of this file.
35#ifndef _BLAZE_UTIL_CONSTRAINTS_SUBSCRIPTABLE_H_
36#define _BLAZE_UTIL_CONSTRAINTS_SUBSCRIPTABLE_H_
60#define BLAZE_CONSTRAINT_MUST_BE_SUBSCRIPTABLE(T) \
61 static_assert( sizeof( std::declval<T>()[0] ) > 0UL, "Non-subscriptable type detected" )
79#define BLAZE_CONSTRAINT_MUST_BE_SUBSCRIPTABLE_AS_DECAYABLE_POINTER(T) \
80 static_assert( sizeof( 0[std::declval<T>()] ) > 0UL, "Non-subscriptable pointer detected" )