~/talk

A C++20 Preview: operator <=>

Talkat CppCon 2017 · 2017-09-24..09-29· [rust]
links:none on file
slides:none on file

A new operator<=> (the three‑way or "spaceship" operator) is being added for C++20 with precedence and associativity defined and library support proposed as <cmp>. A one‑line memberwise compare can be defaulted to generate all six relational operators, or users supply a single definition that returns a chosen ordering category (strong/weak/partial). Committee wording exists but no compiler implementation yet; vendors are waiting and implementations on GCC/Clang are requested so the feature can be exercised.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.