This repository contains the slides for the CppCon22 talk. The Dark Corner of STL: MinMax Algorithms.
- Demo of
std::minmaxwith-fsanitize=address - Temporary object lifetime
autotype deductionstd::initializer_listconst_caststd::common_referencerequiresclausestd::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):

