Daily bit(e) of C++ #86, Common interview problem: Skyline outline
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?
Sorry, but there are endless possibilities. This is why I rely on Compiler Explorer.
Make sure you are compiling with C++20 support.
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?
Sorry, but there are endless possibilities. This is why I rely on Compiler Explorer.
Make sure you are compiling with C++20 support.