Template Function wrench::make_intrusive_ptr¶
Defined in File intrusive_ptr.hpp
Function Documentation¶
-
template<typename T, typename... Args> auto wrench::make_intrusive_ptr (Args &&... args) -> IntrusivePtr< T > Creates an intrusive pointer of type
IntrusivePtr<T>, using theargsto construct the type T.- Parameters
args: The args for construction of the type T.
- Template Parameters
T: The type to create an intrusive pointer for.Args: The types of the construction arguments.