reference#
stdgpu Latest
Efficient STL-like Data Structures on the GPU
|
stdgpu::bitset< Block, Allocator >::reference
Detailed Description
template<typename Block = bitset_default_type, typename Allocator = safe_device_allocator<Block>>
class stdgpu::bitset< Block, Allocator >::reference
class stdgpu::bitset< Block, Allocator >::reference
A proxy class for a reference to a bit.
Differences to std::bitset::reference:
- operator= and flip return old state rather than reference to itself
Public Member Functions | |
STDGPU_HOST_DEVICE | reference ()=delete |
reference (const reference &x) noexcept=default | |
reference (reference &&)=delete | |
~reference () noexcept=default | |
STDGPU_DEVICE_ONLY bool | flip () noexcept |
STDGPU_DEVICE_ONLY | operator bool () const noexcept |
STDGPU_DEVICE_ONLY bool | operator= (bool x) noexcept |
STDGPU_DEVICE_ONLY bool | operator= (const reference &x) noexcept |
reference & | operator= (reference &&)=delete |
STDGPU_DEVICE_ONLY bool | operator~ () const noexcept |
Generated by 1.9.6