|
MongoDB C++ Driver current
|
#include <bsoncxx/v_noabi/bsoncxx/vector/elements.hpp>
Reference to a single element in a packed_bit vector.
| Iterator | Underlying byte iterator type, optionally const. |
Public Types | |
| using | value_type = bool |
| Value type chosen to represent a single-bit element. | |
Public Member Functions | |
| constexpr | operator value_type () const |
| Obtain the referenced element's current value. | |
| packed_bit_element const & | operator&= (value_type const &other) const noexcept |
| Operator &=, emulating bool reference behavior. | |
| packed_bit_element const & | operator= (packed_bit_element const &v) const noexcept |
| Copy the referenced value from another reference of the same type. | |
| packed_bit_element const & | operator= (value_type const &v) const |
| Set the value of the element referenced. | |
| packed_bit_element const & | operator^= (value_type const &other) const noexcept |
| Operator ^=, emulating bool reference behavior. | |
| packed_bit_element const & | operator|= (value_type const &other) const noexcept |
| Operator |=, emulating bool reference behavior. | |
| using bsoncxx::v_noabi::vector::elements::packed_bit_element< Iterator >::value_type = bool |
Value type chosen to represent a single-bit element.
|
inlineconstexpr |
Obtain the referenced element's current value.
|
inlinenoexcept |
Operator &=, emulating bool reference behavior.
|
inlinenoexcept |
Copy the referenced value from another reference of the same type.
|
inline |
Set the value of the element referenced.
|
inlinenoexcept |
Operator ^=, emulating bool reference behavior.
|
inlinenoexcept |
Operator |=, emulating bool reference behavior.