operator~

operator~#

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

◆ operator~()

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

Returns the inverse of the value of the bit.

Returns
The inverse of the value of the bit