std unique_ptr function call
use .get()
https://stackoverflow.com/questions/27203286/how-to-call-method-of-wrapped-object-by-unique-ptr
https://en.cppreference.com/w/cpp/memory/unique_ptr
unique_ptr 使用方法
https://shengyu7697.github.io/std-unique_ptr/
pimpl unique_ptr
https://www.fluentcpp.com/2017/09/22/make-pimpl-using-unique_ptr/
Last updated 2 years ago
Was this helpful?