Detects if a type T has a forward() method. More...
#include <static.h>
Public Types | |
using | yes = int8_t |
using | no = int16_t |
Static Public Member Functions | |
template<typename U > | |
static yes | test (decltype(&U::forward)) |
template<typename U > | |
static no | test (...) |
Static Public Attributes | |
static constexpr bool | value = (sizeof(test<T>(nullptr)) == sizeof(yes)) |
Detects if a type T has a forward() method.