Specific comparison operators

In case we want to turn operator== into a free function, this will
prevent premature instantiation of wrap_operand
This commit is contained in:
rbock
2016-04-14 09:59:35 +02:00
parent f18ab542b4
commit cc56faf98c
2 changed files with 2 additions and 2 deletions
@@ -61,7 +61,7 @@ namespace sqlpp
bool _is_trivial() const
{
return _t == _value_t{};
return std::chrono::operator==(_t, _value_t{});
}
_value_t _t;
@@ -62,7 +62,7 @@ namespace sqlpp
bool _is_trivial() const
{
return _t == _value_t{};
return std::chrono::operator==(_t, _value_t{});
}
_value_t _t;