c++ for frequently copy const field struct in a struct, should I use `shared_ptr`?

后端 未结 0 1640
盖世英雄少女心
盖世英雄少女心 2021-02-04 08:37

I have a Struct as a field of another Struct, and the field will be assigned to other object frequently. This field will not be changed once created, b

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