Allocation: Smart pointers and dynamically sized structure

后端 未结 0 1155
一个人的身影
一个人的身影 2020-12-08 17:53

I\'ve a structure that can be dynamically sized.
I want to use smart pointer (unique_ptr here) to allocate this structure.
The problem is that this struct is dyn

相关标签:
回答
  • 消灭零回复
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题