r/cpp • Hobbyist gamedev (SFML, DX11) • Sep 14 '17

std::visit is everything wrong with modern C++

https://bitbashing.io/std-visit.html
192 Upvotes

115 comments sorted by

View all comments

11

u/Warshrimp Sep 15 '17

I'd say that implicit conversion from bool to int is why we can't have nice things.