operator=

operator=#

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

◆ operator=() [2/2]

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

Performs atomic assignment of a bit value.

Parameters
[in]xThe reference object to assign
Returns
The old value of the bit