jarro2783/cxxopts

C++17 std::variant without `-frtti`

Opened this issue · 2 comments

For C++17 it would be a good option to use std::variant and not depend on RTTI

What types would be in the variant? In general the user can use arbitrary types, so there is no fixed list that would work for everyone.