We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ddbde commit 2d96e74Copy full SHA for 2d96e74
include/tao/pq/table_field.hpp
@@ -48,18 +48,18 @@ namespace tao::pq
48
return as< std::optional< T > >();
49
}
50
51
+ [[nodiscard]] auto operator==( null_t /*unused*/ )
52
+ {
53
+ return is_null();
54
+ }
55
+
56
friend void swap( table_field& lhs, table_field& rhs ) noexcept
57
{
58
std::swap( lhs.m_row, rhs.m_row );
59
std::swap( lhs.m_column, rhs.m_column );
60
61
};
62
- [[nodiscard]] inline auto operator==( const table_field& f, null_t /*unused*/ )
- {
- return f.is_null();
- }
-
63
} // namespace tao::pq
64
65
#endif
0 commit comments