|
|
|
|
|
by galkk
1042 days ago
|
|
std::variant is a good example of many things bad with c++ improvement process, as a language. If you want to just pattern match on type of visitor there is “another convenience helper” that you need to bring, and result still looks not pleasant. Introduced in like c++17, even in c++23 you still need to write a std::visit to process it. Committee members waste time on yak shaving that std::print |
|