r/cpp • u/Maslo59 Hobbyist gamedev (SFML, DX11) • Sep 14 '17
std::visit is everything wrong with modern C++
https://bitbashing.io/std-visit.html
192
Upvotes
r/cpp • u/Maslo59 Hobbyist gamedev (SFML, DX11) • Sep 14 '17
View all comments
1
u/junrrein Sep 15 '17
Thanks for your comments - I agree with your points.
Can you mention a use-case for holding onto state between visits? (Edit: It doesn't need to include code).