共用方式為


unique_ptr::get

傳回 stored_ptr。

pointer get() const;

備註

成員函式會傳回 stored_ptr。

需求

標頭: <memory>

命名空間: std

請參閱

參考

unique_ptr 類別

<memory>

其他資源

unique_ptr 成員

<memory> 成員