阅读背景:

正确使用std move为工厂类

来源:互联网 

I want to create a factory class like below, but I am not confident this is the right way to use std::move. I don't want to use too many shared_ptrs, since shared_ptr inside another shared_ptr is really ugly and sometimes confusing...I want to create a factory class like below, bu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: