36 using result_type = void;
37 template <std::
size_t Index>
38 using argument = void;
39 static const std::size_t arity = 0;
41 static const bool isSqlCallback =
false;
42 static const bool isExceptCallback =
false;
46template <
typename Function>
49 decltype(&std::remove_reference<Function>::type::operator())>
53template <
typename ClassType,
typename ReturnType,
typename... Arguments>
59template <
typename ClassType,
typename ReturnType,
typename... Arguments>
69 static const bool isSqlCallback =
true;
70 static const bool isStepResultCallback =
false;
71 static const bool isExceptCallback =
false;
78 static const bool isExceptCallback =
true;
79 static const bool isSqlCallback =
false;
80 static const bool isStepResultCallback =
false;
81 static const bool isPtr =
false;
88 static const bool isExceptCallback =
true;
89 static const bool isSqlCallback =
false;
90 static const bool isStepResultCallback =
false;
91 static const bool isPtr =
true;
94template <
typename ReturnType,
typename... Arguments>
98 static const bool isSqlCallback =
true;
99 static const bool isStepResultCallback =
true;
102template <
typename ReturnType,
typename... Arguments>
105 using result_type = ReturnType;
107 template <std::
size_t Index>
109 typename std::tuple_element<Index, std::tuple<Arguments...>>::type;
111 static const std::size_t arity =
sizeof...(Arguments);
113 static const bool isSqlCallback =
true;
114 static const bool isStepResultCallback =
true;
115 static const bool isExceptCallback =
false;
116 static const bool isPtr =
false;
Mixin base class to identify drogon-db-specific exception types.
Definition Exception.h:51
Result set containing data returned by a query or command.
Definition Result.h:58
Drogon Test is a minimal effort test framework developed because the major C++ test frameworks doesn'...
Definition Attribute.h:23
Definition FunctionTraits.h:50