Searched refs:HasNoDestructor (Results 1 – 1 of 1) sorted by relevance
161 inline static constexpr bool HasNoDestructor = std::is_trivially_destructible<T>::value; variable167 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()