define a function to return specified type of std::variant c++

后端 未结 0 1049
独厮守ぢ
独厮守ぢ 2020-12-21 17:20

I am almost new to using c++17 rules. My question is straightforward; how can I access the std::variant types in the same order I defined them? Something like the following

相关标签:
回答
  • 消灭零回复
提交回复
热议问题