|
|
|
|
|
by repelsteeltje
115 days ago
|
|
Not sure, but I think C++ actually does allow std::variant with multiple choices using the same type. You might not be able to distinguish between them by type (using get<Type>()), but you can by position (get<0>(), get<1>(), ...) |
|