Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrSubRunAllocator.h161 inline static constexpr bool HasNoDestructor = std::is_trivially_destructible<T>::value; variable
167 static_assert(HasNoDestructor<T>, "This is not POD. Use makeUnique."); in makePOD()
174 static_assert(!HasNoDestructor<T>, "This is POD. Use makePOD."); in makeUnique()
180 static_assert(HasNoDestructor<T>, "This is not POD. Use makeUniqueArray."); in makePODArray()
186 static_assert(HasNoDestructor<T>, "This is not POD. Use makeUniqueArray."); in makePODArray()
197 static_assert(!HasNoDestructor<T>, "This is POD. Use makePODArray."); in makeUniqueArray()
207 static_assert(!HasNoDestructor<T>, "This is POD. Use makePODArray."); in makeUniqueArray()