The autogenerated Equality Operator
You can define the three-way comparison operator or request it from the compiler with =default. But do you know that you can also define or request the equality operator in C++20? Before I dive into the autogenerated equality operator, I’d like to refresh your knowledge about the three-way comparison operator. The Three-Way Comparison Operator You […]