C++ Language/Indirection/SmartPointers/TemplateParameter
You can access a smart pointer's template-parameter by std::unique_ptr<int>::element_type.
Additional information about accessing a smart pointer's template-parameter
You can access a smart pointer's template-parameter by std::unique_ptr<int>::element_type.
Additional information about accessing a smart pointer's template-parameter