minus-squareflying_gel@lemmy.worldtoProgrammer Humor@lemmy.ml•I love Rustlinkfedilinkarrow-up20·6 hours agoI do appreciate how newer C++ standards have made these kinds of things a lot easier too. Define all comparison operators with just one one line using C++20 auto operator<=>(const ClassName&) const = default; linkfedilink
I do appreciate how newer C++ standards have made these kinds of things a lot easier too.
Define all comparison operators with just one one line using C++20
auto operator<=>(const ClassName&) const = default;