How do you sort types at compile time?
std::variant<int, double>
std::variant<double, int>
Same types. Different variants. Until C++26 there was no portable, constexpr way to order two types 🧵👇
Our mission is to make the C++ programming language accessible and useful to anyone who wishes to learn and apply the language.

