Home
last modified time | relevance | path

Searched refs:DeferredAction (Results 1 – 1 of 1) sorted by relevance

/hardware/google/gfxstream/guest/android-emu/aemu/base/fit/
DDefer.h38 class DeferredAction final {
41 DeferredAction() = default;
42 explicit DeferredAction(decltype(nullptr)) {} in DeferredAction() function
45 explicit DeferredAction(T target) : mTarget(std::move(target)) {} in DeferredAction() function
49 DeferredAction(DeferredAction&& other) : mTarget(std::move(other.mTarget)) { in DeferredAction() function
54 ~DeferredAction() { call(); } in ~DeferredAction()
62 DeferredAction& operator=(DeferredAction&& other) {
84 DeferredAction& operator=(decltype(nullptr)) { in decltype()
90 DeferredAction& operator=(T target) {
95 DeferredAction(const DeferredAction& other) = delete;
[all …]