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

replaced value_type_of, too

This commit is contained in:
rbock 2015-12-28 09:47:26 +01:00
parent db6ea81668
commit 6ae63dd0be

View File

@ -230,8 +230,9 @@ namespace sqlpp
using check_where_t = static_combined_check_t< using check_where_t = static_combined_check_t<
static_check_t<logic::all_t<detail::is_expression_impl<Expressions>::type::value...>::value, static_check_t<logic::all_t<detail::is_expression_impl<Expressions>::type::value...>::value,
assert_where_expressions_t>, assert_where_expressions_t>,
static_check_t<logic::all_t<std::is_same<value_type_of<Expressions>, boolean>::value...>::value, static_check_t<
assert_where_boolean_t>, logic::all_t<std::is_same<typename detail::value_type_of_impl<Expressions>::type, boolean>::value...>::value,
assert_where_boolean_t>,
static_check_t<logic::all_t<(not detail::contains_aggregate_function_impl<Expressions>::type::value)...>::value, static_check_t<logic::all_t<(not detail::contains_aggregate_function_impl<Expressions>::type::value)...>::value,
assert_where_no_aggregate_functions_t>>; assert_where_no_aggregate_functions_t>>;