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

阅读 35

2022-06-13

C++14才有

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

所以替换为

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


相关推荐

精彩评论(0)

0 0 举报