0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Well, replaced another template alias (is_boolean_t)

This commit is contained in:
rbock 2015-12-28 09:39:16 +01:00
parent 325d64828e
commit db6ea81668

View File

@ -230,7 +230,8 @@ namespace sqlpp
using check_where_t = static_combined_check_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<std::is_same<value_type_of<Expressions>, boolean>::value...>::value,
assert_where_boolean_t>,
static_check_t<logic::all_t<(not detail::contains_aggregate_function_impl<Expressions>::type::value)...>::value,
assert_where_no_aggregate_functions_t>>;