How to avoid big memory allocation with std::make_shared

后端 未结 3 1432
遥遥无期
遥遥无期 2020-12-16 16:26

Let\'s say that I have some arbitrary class, A:

class A {
 //... stuff
};

I want to call into an external API that takes in a shared pointe

3条回答
提交回复
热议问题