string comparison

2 moment(s) that assert this concept — showing 1–2 of 2

single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] CppCon[2] CppCon
showing 2 of 2 moments
CppCon · youtube · en
1The number of comparison operators needed to implement case-insensitive string comparisons in C++17 is 18.
“18 ought to do it”
spoken · 72s · 2017-09-28
CppCon · youtube · en
2The spaceship operator avoids redundant prefix traversal by guaranteeing a single pass when comparing strings, improving efficiency over implementations that use less than or equals in terms of equals
“it's guaranteed to be single pass it's guaranteed to be symmetric”
spoken · 299s · 2017-09-28