Re:Std::visit is everything wrong with modern C++
by ezyang on Thursday September 14, 2017 @03:51PM
(#15251899)
You don't get exhaustiveness checking, which is the killer feature of variants.
[ Parent
| on HN ]
Re:Std::visit is everything wrong with modern C++
by joe_loser on Thursday September 14, 2017 @09:54PM
(#15253992)
Yeah, plus the if branches are runtime-checks instead of the if-constexpr approach