Initialization of a vector that contains vectors of my class

前端 未结 0 783
小蘑菇
小蘑菇 2020-11-29 22:34

I have a problem with the following code:

class Foo {
    int a, b;
public:
    Foo(): a{1}, b{2} {}
};

class Bar {
    std::vector         


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