News for hackers. Stuff that matters.
Re:Enum class improvements for C++17, C++20 and C++23 by galkk on Sunday August 04, 2024 @08:29PM (#41157258)
Ohh, and to make the use of a variant to look like pattern match over type you need to copy paste some template magic.

https://schneide.blog/2018/01/11/c17-the-two-line-visitor-ex...

variants are a such disappointment at every step of trying to use them

There are no comments on this comment yet.