Hacker News new | ask | show | jobs
by hkalbasi 1400 days ago
Not super useful without ADTs, but nice! I hope someday ADT and pattern matching find their way to the c++ language.
1 comments

Sadly lvariant did not get into C++ language. The library supports pattern matching against std::variant/std::any and class inheritance as a replacement.