0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Replace is_expression_t<> with detail::is_expression_impl<>::type

This commit is contained in:
rbock 2015-12-28 09:18:47 +01:00
parent b89e4c3e4f
commit e364afe38f

View File

@ -228,7 +228,8 @@ namespace sqlpp
template <typename... Expressions> template <typename... Expressions>
using check_where_t = static_combined_check_t< using check_where_t = static_combined_check_t<
static_check_t<logic::all_t<is_expression_t<Expressions>::value...>::value, assert_where_expressions_t>, static_check_t<logic::all_t<detail::is_expression_impl<Expressions>::type::value...>::value,
assert_where_expressions_t>,
static_check_t<logic::all_t<is_boolean_t<Expressions>::value...>::value, assert_where_boolean_t>, static_check_t<logic::all_t<is_boolean_t<Expressions>::value...>::value, assert_where_boolean_t>,
static_check_t<logic::all_t<(not contains_aggregate_function_t<Expressions>::value)...>::value, static_check_t<logic::all_t<(not contains_aggregate_function_t<Expressions>::value)...>::value,
assert_where_no_aggregate_functions_t>>; assert_where_no_aggregate_functions_t>>;