HTTP v1.13.1
Loading...
Searching...
No Matches
CheckAtCompileTime.h File Reference
#include <type_traits>
#include <string>

Go to the source code of this file.

Classes

class  utility::checkSize< dataContainer >
 
class  utility::checkResize< dataContainer >
 
class  utility::checkData< dataContainer >
 
class  utility::checkBegin< dataContainer >
 
class  utility::checkEnd< dataContainer >
 
class  utility::checkInitializerListConstructor< dataContainer >
 
class  utility::StringConversion< T >
 

Namespaces

namespace  utility
 

Macros

#define CREATE_CHECK_CLASS(checkMethodName, ...)
 

Macro Definition Documentation

◆ 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.