Reply to post: Three-way comparison - long overdue

Classy move: C++ 20 wins final approval in ISO technical ballot, formal publication expected by end of year

A.P. Veening Silver badge

Three-way comparison - long overdue

There are many other new features, including the “spaceship operator” <=> which does a three-way comparison and returns less, equal or more.

As the title already says, long overdue. It was already available in RPG some 60 years ago.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon