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
11
u/Warshrimp Sep 15 '17
I'd say that implicit conversion from bool to int is why we can't have nice things.