您可以透過 std::unique_ptr<int>::element_type 訪問智慧指標的模板引數。
std::unique_ptr<int>::element_type
有關訪問智慧指標的模板引數的更多資訊