Using std::variant. variant is a class template that takes, as template parameters, the types it could hold. For the example above, we could ...
確定! 回上一頁