mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
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:
parent
f18ab542b4
commit
cc56faf98c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user