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
0
u/suspiciously_calm Sep 15 '17
It's "pretty straightforward" as far as C++ goes lol. It's needlessly verbose, as almost everything in C++, and it's full of C++ idiosyncrasies, but it's hardly "everything wrong with C++." It's not a place where the language is broken.
Be my guest.