News for hackers. Stuff that matters.
Re:Std::visit is everything wrong with modern C++ (2017) by ncmncm on Saturday December 05, 2020 @11:16PM (#25320988)
That a library implementation of pattern-matching would be unsatisfactory exposes a weakness in the core language. Usually, it is better to strengthen the language to the point where a library component can do the job. Sometimes, though, that is too hard, and you give up and do it directly in the core language. It should always be noted as a failing.

Something similar happened with coroutines, although what we did get has hooks that a library should be able to patch into, to achieve wonders not yet seen.

Re:Std::visit is everything wrong with modern C++ (2017) by steveklabnik on Saturday December 05, 2020 @11:53PM (#25321147)
Yeah, I do agree that this is the best way to go. We'll see!