This repository contains the slides for the CppCon22 talk. The Dark Corner of STL: MinMax Algorithms.
- Demo of
std::minmax
with-fsanitize=address
- Temporary object lifetime
auto
type deductionstd::initializer_list
const_cast
std::common_reference
requires
clausestd::is_same
- All combinations for
std::common_reference_t
- brute-force "solution"
- C++20 "solution"
- variadric version of min
If you have questions, feel free ask through any of the following contact options (my DMs are open):