Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ah yeah numeric sort of variants totally make sense for that! In all of my use cases they have been types that don't have operations defined among each other. But really I'd just appreciate the standard library providing at least a convenience function for the common case over their more powerful but obtuse std::visit.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: