Рет қаралды 676
std::variant and std::visit() are arguably among the most important new features of C++17, allowing for the type safe flexibility provided by virtual functions, without the coupling from inheritance. But some say visit() is slow. Let's find out, and try a few different techniques to
implement visit() and see what the standard says.
Slides:
speakerdeck.co...
Recorded at StockholmCpp #23
www.meetup.com...
The event was kindly hosted by Berotec
berotec.se/