thrust::array_allocator_delete

Defined in thrust/allocate_unique.h

template<typename T, typename Allocator, bool Uninitialized = false>
struct array_allocator_delete

Public Types

using allocator_type = typename std::remove_cv<typename std::remove_reference<Allocator>::type>::type::template rebind<T>::other
using pointer = typename detail::allocator_traits<allocator_type>::pointer

Public Functions

template<typename UAllocator>
inline array_allocator_delete(UAllocator &&other, std::size_t n) noexcept
template<typename U, typename UAllocator>
inline array_allocator_delete(array_allocator_delete<U, UAllocator> const &other) noexcept
template<typename U, typename UAllocator>
inline array_allocator_delete(array_allocator_delete<U, UAllocator> &&other) noexcept
template<typename U, typename UAllocator>
inline array_allocator_delete &operator=(array_allocator_delete<U, UAllocator> const &other) noexcept
template<typename U, typename UAllocator>
inline array_allocator_delete &operator=(array_allocator_delete<U, UAllocator> &&other) noexcept
inline void operator()(pointer p)
inline allocator_type &get_allocator() noexcept
inline allocator_type const &get_allocator() const noexcept
inline void swap(array_allocator_delete &other) noexcept