thrust::allocate_unique

Defined in thrust/allocate_unique.h

template<typename T, typename Allocator, typename ...Args>
std::unique_ptr<T, allocator_delete<T, typename detail::allocator_traits<typename std::remove_cv<typename std::remove_reference<Allocator>::type>::type>::template rebind_traits<T>::allocator_type>> thrust::allocate_unique(Allocator const &alloc, Args&&... args)