![]() |
Flutter Engine
The Flutter Engine
|
#include <SkTemplates.h>
Public Member Functions | |
SkAutoTCallVProc (const SkAutoTCallVProc &)=delete | |
SkAutoTCallVProc (SkAutoTCallVProc &&that) | |
operator T* () const | |
Call a function when this goes out of scope. The template uses two parameters, the object, and a function that is to be called in the destructor. If release() is called, the object reference is set to null. If the object reference is null when the destructor is called, we do not call the function.
Definition at line 84 of file SkTemplates.h.
|
delete |
|
inline |
Definition at line 90 of file SkTemplates.h.
|
inline |
Definition at line 92 of file SkTemplates.h.