Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"Simplify Your Code With Rocket Science: C++20’s Spaceship Operator"

16 views
Skip to first unread message

Lynn McGuire

unread,
Jun 28, 2019, 3:05:27 PM6/28/19
to
"Simplify Your Code With Rocket Science: C++20’s Spaceship Operator"

https://devblogs.microsoft.com/cppblog/simplify-your-code-with-rocket-science-c20s-spaceship-operator/

"C++20 adds a new operator, affectionately dubbed the “spaceship”
operator: <=>. There was a post awhile back by our very own Simon Brand
detailing some information regarding this new operator along with some
conceptual information about what it is and does. The goal of this post
is to explore some concrete applications of this strange new operator
and its associated counterpart, the operator== (yes it has been changed,
for the better!), all while providing some guidelines for its use in
everyday code."

Hat tip to:

https://www.codeproject.com/script/Mailouts/View.aspx?mlid=14431&_z=1988477

Lynn
0 new messages