Adding back conditions

This commit is contained in:
rbock
2016-04-09 10:23:15 +02:00
parent 403d6b644a
commit 6c1b190dcc

View File

@@ -59,7 +59,9 @@ namespace sqlpp
template <typename LhsType, typename... RhsType>
using check_rhs_in_operands_t = static_combined_check_t<
static_check_t<logic::all_t<is_expression_t<sqlpp::wrap_operand_t<RhsType>>::value...>::value,
assert_comparison_valid_rhs_operand_t>>;
assert_comparison_valid_rhs_operand_t>,
static_check_t<logic::none_t<std::is_same<LhsType, RhsType>::value...>::value,
assert_comparison_lhs_rhs_differ_t>>;
namespace detail
{