get_allocator

get_allocator#

stdgpu: stdgpu::bitset::get_allocator
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ get_allocator()

template<typename Block = bitset_default_type, typename Allocator = safe_device_allocator<Block>>
STDGPU_HOST_DEVICE allocator_type stdgpu::bitset< Block, Allocator >::get_allocator ( ) const
noexcept

Returns the container allocator.

Returns
The container allocator