mirror of
https://github.com/RGBCube/serenity
synced 2025-10-13 18:52:17 +00:00
![]() C++20 can automatically synthesize `operator!=` from `operator==`, so there is no point in writing such functions by hand if all they do is call through to `operator==`. This fixes a compile error with compilers that implement P2468 (Clang 16 currently). This paper restores the C++17 behavior that if both `T::operator==(U)` and `T::operator!=(U)` exist, `U == T` won't be rewritten in reverse to call `T::operator==(U)`. Removing `!=` operators makes the rewriting possible again. See https://reviews.llvm.org/D134529#3853062 |
||
---|---|---|
.. | ||
AST | ||
BTree.cpp | ||
BTree.h | ||
BTreeIterator.cpp | ||
CMakeLists.txt | ||
Database.cpp | ||
Database.h | ||
Forward.h | ||
HashIndex.cpp | ||
HashIndex.h | ||
Heap.cpp | ||
Heap.h | ||
Index.cpp | ||
Index.h | ||
Key.cpp | ||
Key.h | ||
Meta.cpp | ||
Meta.h | ||
Result.cpp | ||
Result.h | ||
ResultSet.cpp | ||
ResultSet.h | ||
Row.cpp | ||
Row.h | ||
Serializer.cpp | ||
Serializer.h | ||
SQLClient.cpp | ||
SQLClient.h | ||
TreeNode.cpp | ||
Tuple.cpp | ||
Tuple.h | ||
TupleDescriptor.h | ||
Type.h | ||
Value.cpp | ||
Value.h |