#include <type_traits>
#include <string>
Go to the source code of this file.
◆ CREATE_CHECK_CLASS
#define CREATE_CHECK_CLASS |
( |
| checkMethodName, |
|
|
| ... ) |
Value: private: \
template<typename T> \
static constexpr decltype(std::declval<T>().checkMethodName(__VA_ARGS__), std::true_type()) checked(int); \
\
template<typename> \
static constexpr std::false_type checked(...); \
\
public: \
using type = decltype(checked<dataContainer>(0)); \
enum \
{ \
value = type::value \
}; \
Definition at line 7 of file CheckAtCompileTime.h.