thrust::allocator_delete#

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

Public Types

using allocator_type = typename std::remove_cv_t<std::remove_reference_t<Allocator>>::template rebind<T>::other#
using pointer = typename ::cuda::std::allocator_traits<allocator_type>::pointer#

Public Functions

allocator_delete(const allocator_delete&) = default#
allocator_delete(allocator_delete&&) noexcept = default#
template<typename UAllocator, ::cuda::std::enable_if_t<(!::cuda::std::is_same_v<::cuda::std::remove_cvref_t<UAllocator>, allocator_delete>), int> = 0>
inline allocator_delete(
UAllocator &&other
) noexcept#
template<typename U, typename UAllocator>
inline allocator_delete(
allocator_delete<U, UAllocator> const &other
) noexcept#
template<typename U, typename UAllocator>
inline allocator_delete(
allocator_delete<U, UAllocator> &&other
) noexcept#
template<typename U, typename UAllocator>
inline allocator_delete &operator=(
allocator_delete<U, UAllocator> const &other
) noexcept#
template<typename U, typename UAllocator>
inline allocator_delete &operator=(
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(allocator_delete &other) noexcept#