mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-05-07 20:00:06 -05:00
Improved early type checking in stand-alone functions
This commit is contained in:
@@ -39,6 +39,8 @@ namespace sqlpp
|
||||
template<typename T>\
|
||||
struct NAME##_t\
|
||||
{\
|
||||
static_assert(CONSTRAINT<typename std::decay<T>::type>::value, #NAME "() argument has constraint: " #CONSTRAINT);\
|
||||
static_assert(is_expression_t<typename std::decay<T>::type>::value, #NAME "() argument has contraint: is_expression_t");\
|
||||
using _operand = typename operand_t<T, CONSTRAINT>::type;\
|
||||
\
|
||||
struct _op\
|
||||
|
||||
Reference in New Issue
Block a user