5#ifndef FLUTTER_FML_MEMORY_REF_PTR_INTERNAL_H_
6#define FLUTTER_FML_MEMORY_REF_PTR_INTERNAL_H_
10#include "flutter/fml/macros.h"
29 template <
typename... Args>
31 return AdoptRef<T>(
new T(std::forward<Args>(
args)...));
static RefPtr< T > MakeRefCounted(Args &&... args)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
RefPtr< T > AdoptRef(T *ptr)