阅读背景:

在C ++中,我如何声明一个将任何对象的向量数组作为一个agrument的函数?

来源:互联网 

For example, I have 3 different objects a, b, and c; each of which is an instance of a different class. I want to declare a function that will take a std::vector array as an argument; where the vector array is an array of objects a, b or c (not mixed). How can I do this?For example, I have 3 different objects a, b, a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: