C++ class member initialization of std::vector

后端 未结 0 477
日久生厌
日久生厌 2021-01-05 15:50

I have a class like this

class A
{
    std::vector v;
}

I want to write a constructor like this

A::A()
    :          


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