you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 2 years ago (1 child)

It makes it look like they're just adding random noise to avoid colliding with existing syntax. Maybe they can try a UUID next time...

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 2 years ago

    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.

  • source
  • parent