How can I make it so that users can add variables to a class and choose type in C++?

后端 未结 0 415
野的像风
野的像风 2020-12-21 01:49

I want to have a variable be determined by user-picked parameters and weights they choose as sort of a template, but C++ needs to know types at runtime, so what could I do?<

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