0
点赞
收藏
分享

微信扫一扫

error::make_unique is not a member of ‘std’

腾讯优测 2022-06-13 阅读 35

C++14才有

std::make_unique<T>(...)

所以替换为

std::unique_ptr<T>(new T(...))


举报

相关推荐

0 条评论