operator bool

operator bool#

stdgpu: stdgpu::bitset::reference::operator bool
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ operator bool()

template<typename Block = bitset_default_type, typename Allocator = safe_device_allocator<Block>>
STDGPU_DEVICE_ONLY stdgpu::bitset< Block, Allocator >::reference::operator bool ( ) const
noexcept

Returns the value of the bit.

Returns
The value of the bit