Template Function wrench::make_intrusive_ptr

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 the args to 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.