Moved static asserts for inconsistency errors much closer to call site

This commit is contained in:
rbock
2014-11-17 19:05:22 +01:00
parent 4ef00a03b2
commit 59734b3f51
24 changed files with 121 additions and 103 deletions

View File

@@ -127,7 +127,7 @@ namespace sqlpp
template<typename Policies>
struct _methods_t
{
static void _check_consistency() {}
using _consistency_check = consistent_t;
};
};
@@ -171,7 +171,7 @@ namespace sqlpp
template<typename T>
using _new_statement_t = new_statement<Policies, no_select_flag_list_t, T>;
static void _check_consistency() {}
using _consistency_check = consistent_t;
template<typename... Args>
auto flags(Args... args) const