thrust::uninitialized_allocate_unique_n#
-
template<typename T, typename Allocator, typename Size>
std::unique_ptr<T[], uninitialized_array_allocator_delete<T, typename detail::allocator_traits<::cuda::std::remove_cvref_t<Allocator>>::template rebind_traits<T>::allocator_type>> thrust::uninitialized_allocate_unique_n(
)# Creates a
std::unique_ptrholding storage for an array of objects of typeTwithout constructing them, usingallocas the allocator.