![]() |
mutable
A Database System for Research and Fast Prototyping
|
A proxy to access single elements in SmallBitset
.
More...
#include <ADT.hpp>
Public Member Functions | |
Proxy (reference_type S, std::size_t offset) | |
operator bool () const | |
template<bool C_ = Is_Const> requires (not C_) | |
Proxy & | operator= (bool val) |
Proxy & | operator= (const Proxy &other) |
Static Public Attributes | |
static constexpr bool | Is_Const = C |
Private Types | |
using | reference_type = std::conditional_t< Is_Const, const SmallBitset &, SmallBitset & > |
Private Attributes | |
reference_type | S_ |
std::size_t | offset_ |
A proxy to access single elements in SmallBitset
.
|
private |
|
inline |
Definition at line 42 of file ADT.hpp.
References m::SmallBitset::CAPACITY, M_insist, and m::SmallBitset::Proxy< C >::offset_.
|
inline |
Definition at line 44 of file ADT.hpp.
References m::SmallBitset::Proxy< C >::offset_, and m::SmallBitset::Proxy< C >::S_.
|
inline |
Definition at line 48 of file ADT.hpp.
References m::SmallBitset::Proxy< C >::offset_, m::SmallBitset::Proxy< C >::S_, and m::setbit().
Referenced by m::SmallBitset::Proxy< C >::operator=().
|
inline |
Definition at line 50 of file ADT.hpp.
References m::SmallBitset::Proxy< C >::Is_Const, and m::SmallBitset::Proxy< C >::operator=().
|
staticconstexpr |
Definition at line 33 of file ADT.hpp.
Referenced by m::SmallBitset::Proxy< C >::operator=().
|
private |
Definition at line 39 of file ADT.hpp.
Referenced by m::SmallBitset::Proxy< C >::operator bool(), m::SmallBitset::Proxy< C >::operator=(), and m::SmallBitset::Proxy< C >::Proxy().
|
private |
Definition at line 38 of file ADT.hpp.
Referenced by m::SmallBitset::Proxy< C >::operator bool(), and m::SmallBitset::Proxy< C >::operator=().