Searched defs:SkTLazy (Results 1 – 2 of 2) sorted by relevance
23 explicit SkTLazy(const T* src) : fPtr(src ? new (&fStorage) T(*src) : nullptr) {} in SkTLazy() function24 SkTLazy(const SkTLazy& that) { *this = that; } in SkTLazy() function25 SkTLazy(SkTLazy&& that) { *this = std::move(that); } in SkTLazy() function
23 explicit SkTLazy(const T* src) : fPtr(src ? new (&fStorage) T(*src) : nullptr) {} in SkTLazy() function24 SkTLazy(const SkTLazy& that) : fPtr(that.fPtr ? new (&fStorage) T(*that.fPtr) : nullptr) {} in SkTLazy() function25 SkTLazy(SkTLazy&& that) : fPtr(that.fPtr ? new (&fStorage) T(std::move(*that.fPtr)) : nullptr){} in SkTLazy() function