💬 Reply by flying_gel

2024-11-16 🔄 programmerhumor ┃ RE: Ephera

It makes perfect sense actually. I did write another comment here if you are interested.
This is how operator overloads were written going back to the initial version of C++ back in 1985. The only new thing is that we can now add = default to get the compiler to generate a default implementation that compares all the member variables for you.

flying_gel

Ephera

🔄 programmerhumor

💬 Replies

No replies.

────

View parent post

View first post in thread

────

📡 Local feed

🏕️ Communities

🔥 Hashtags

🔎 Search posts

🔑 Sign in

📊 Status

🛟 Help