2 Comments
User's avatar
Hari Prasanth SM's avatar

Hi, in my local machine the '=default' in the friend function is not working, instead I have to explicitly define the function for the operator == overloading. Is it normal, or how can I improve it?

Expand full comment
Šimon Tóth's avatar

Sorry, but there are endless possibilities. This is why I rely on Compiler Explorer.

Make sure you are compiling with C++20 support.

Expand full comment