Flutter Engine
fml::internal::MakeRefCountedHelper< T > Class Template Referencefinal

#include <ref_ptr_internal.h>

Static Public Member Functions

template<typename... Args>
static RefPtr< T > MakeRefCounted (Args &&... args)
 

Detailed Description

template<typename T>
class fml::internal::MakeRefCountedHelper< T >

Definition at line 27 of file ref_ptr_internal.h.

Member Function Documentation

◆ MakeRefCounted()

template<typename T >
template<typename... Args>
static RefPtr<T> fml::internal::MakeRefCountedHelper< T >::MakeRefCounted ( Args &&...  args)
inlinestatic

Definition at line 30 of file ref_ptr_internal.h.

References args.

Referenced by fml::MakeRefCounted().

30  {
31  return AdoptRef<T>(new T(std::forward<Args>(args)...));
32  }
G_BEGIN_DECLS FlValue * args

The documentation for this class was generated from the following file: