https://github.com/CpppFr/CPPP-21
https://cppp.fr/
---
The C++ standard library long ago selected operator < as its ordering primitive, and even spells it in several different ways (e.g., std::less). This talk will explain why operator < (and its aliases) must be used with care, in even such seemingly simple algorithms as max and min.
We will also discuss the use of operator < in several other order-related algorithms, showing how easy it is to make mistakes when using the operator < primitive directly, no matter how it’s spelled.
(Of course, we will also present a straightforward technique to avoid such mistakes.)
---
Walter E Brown
With broad experience in industry, academia, consulting, and research, Dr. Walter E. Brown has been a C++ programmer for more than 40 years. He joined the C++ standards effort in 2000, and has since written circa 170 proposal papers. Among numerous other contributions, he is responsible for introducing such now-standard C++ library features as cbegin/cend, common_type, gcd/lcm, void_t, and <cmath>’s mathematical special functions, as well as the headers <random> and <ratio>. He has also significantly impacted such C++ core language features as alias templates, contextual conversions, variable templates, static_assert, and operator<=> (the C++20 “spaceship operator”).
When not playing with his grandchildren, Dr. Brown continues as an Emeritus participant in the C++ standards process, with several more proposals under consideration.
---
Streamed & Edited by Digital Medium Ltd - events.digital-medium.co.uk
Enquiries: [email protected]
Graphic design: Oscar Larousse
Logo music: Agnès Vincent http://agnesvincent.com/