Jeff Kershner · May 10, 2026
The C++ Spaceship Operator: Less Code, Fewer Bugs
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
How C++20's three-way comparison operator replaces six hand-written operators with a single line of code.
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.