need c++23
and_then
RIIR
Output
or_else
lack example 🤣
map/transform
concepts
gcc c++23
这代码写得我要被创死了。
为啥不用 format, 因为 gcc 不支持,clang 也还没,https://en.cppreference.com/w/cpp/utility/format/format 网站的示例都是报错的。
为啥用 ranges 和 for 混合。因为有这功能的 https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2322r0.html 还没被实现呢。