reset

reset#

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

◆ reset() [2/3]

template<typename Block = bitset_default_type, typename Allocator = safe_device_allocator<Block>>
STDGPU_DEVICE_ONLY bool stdgpu::bitset< Block, Allocator >::reset ( const index_t  n)

Resets the bit at the given position. Equivalent to : set(n, false)

Parameters
[in]nThe position that should be reset
Returns
The old value of the bit
Precondition
0 <= n < size()