Why you should never use std::visit


Details
Hi Everybody,
Hope you have a good weekend.
This month's speaker is Chris Harpum who some of you may know from previous ACCU meet-ups. Chris has kindly offered to give a talk on the C++ type system and how we can use it to create cleaner, safer code. Please find the abstract for the talk below. As usual, the talk will be hosted at the Blu Wireless offices (at One Castlepark, Tower Hill, BS2 0JA), with a trip to the Cornubia afterwards :-) !
Looking forward to seeing you all and take care,
Jim
Why you should never use std::visit
One of the appeals of C++ is its powerful type system. A fundamental building block for the standard library, a conduit for compile-time metaprogramming, and a safety mechanism that can help avoid well known C language pitfalls.
Using std::variant as an example, let’s look at how we can effectively utilise the type system to create a cleaner, safer, C++.

Why you should never use std::visit