thrust::allocator_delete
Defined in thrust/allocate_unique.h
-
template<typename T, typename Allocator, bool Uninitialized = false>
struct 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 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 allocator_type &get_allocator() noexcept
-
inline allocator_type const &get_allocator() const noexcept
-
inline void swap(allocator_delete &other) noexcept
-
using allocator_type = typename std::remove_cv<typename std::remove_reference<Allocator>::type>::type::template rebind<T>::other