|
MongoDB C++ Driver current
|
#include <bsoncxx/v_noabi/bsoncxx/vector/iterators.hpp>
Iterator for elements within a packed_bit vector.
| Iterator | Underlying byte iterator type |
Public Types | |
| using | difference_type = std::ptrdiff_t |
| A signed bit count. | |
| using | iterator_category = std::random_access_iterator_tag |
| This is a standard random-access iterator. | |
| using | pointer = elements::packed_bit_element< Iterator > const * |
| Element pointers aren't really a useful concept here, but this is defined for compatibility with standard random-access iterators. | |
| using | reference = elements::packed_bit_element< Iterator > const |
| References to individual bits are each bsoncxx::v_noabi::elements::packed_bit_element. | |
| using | value_type = bool |
| Values pointed to by this iterator are single bits represented by bool. | |
Public Member Functions | |
| constexpr bool | operator!= (packed_bit_element const &other) const noexcept |
| Compare two bit iterators. | |
| constexpr reference | operator* () const noexcept |
| Dereference this bit iterator into a bit reference. | |
| constexpr packed_bit_element | operator+ (difference_type const &other) const noexcept |
| Calculate a signed addition of this iterator with a ptrdiff_t, moving it forward or backward the indicated number of bits. If the iterator goes out of range, behavior is undefined. | |
| packed_bit_element & | operator++ () noexcept |
| Pre-increment. | |
| packed_bit_element | operator++ (int) noexcept |
| Post-increment. | |
| packed_bit_element & | operator+= (difference_type const &other) noexcept |
| Advance this iterator forward by the indicated number of bits. | |
| constexpr packed_bit_element | operator- (difference_type const &other) const noexcept |
| Calculate a signed subtraction of a ptrdiff_t from this iterator, moving it backward or forward the indicated number of bits. If the iterator goes out of range, behavior is undefined. | |
| constexpr difference_type | operator- (packed_bit_element const &other) const noexcept |
| Calculate the difference in position between two bit iterators If the two iterators do not point into the same vector, behavior is undefined. | |
| packed_bit_element & | operator-- () noexcept |
| Pre-decrement. | |
| packed_bit_element | operator-- (int) noexcept |
| Post-decrement. | |
| packed_bit_element & | operator-= (difference_type const &other) noexcept |
| Move this iterator backward by the indicated number of bits. | |
| constexpr bool | operator< (packed_bit_element const &other) const noexcept |
| Compare two bit iterators. | |
| constexpr bool | operator<= (packed_bit_element const &other) const noexcept |
| Compare two bit iterators. | |
| constexpr bool | operator== (packed_bit_element const &other) const noexcept |
| Compare two bit iterators. | |
| constexpr bool | operator> (packed_bit_element const &other) const noexcept |
| Compare two bit iterators. | |
| constexpr bool | operator>= (packed_bit_element const &other) const noexcept |
| Compare two bit iterators. | |
| using bsoncxx::v_noabi::vector::iterators::packed_bit_element< Iterator >::difference_type = std::ptrdiff_t |
A signed bit count.
| using bsoncxx::v_noabi::vector::iterators::packed_bit_element< Iterator >::iterator_category = std::random_access_iterator_tag |
This is a standard random-access iterator.
| using bsoncxx::v_noabi::vector::iterators::packed_bit_element< Iterator >::pointer = elements::packed_bit_element<Iterator> const* |
Element pointers aren't really a useful concept here, but this is defined for compatibility with standard random-access iterators.
| using bsoncxx::v_noabi::vector::iterators::packed_bit_element< Iterator >::reference = elements::packed_bit_element<Iterator> const |
References to individual bits are each bsoncxx::v_noabi::elements::packed_bit_element.
| using bsoncxx::v_noabi::vector::iterators::packed_bit_element< Iterator >::value_type = bool |
Values pointed to by this iterator are single bits represented by bool.
|
inlineconstexprnoexcept |
Compare two bit iterators.
|
inlineconstexprnoexcept |
Dereference this bit iterator into a bit reference.
|
inlineconstexprnoexcept |
Calculate a signed addition of this iterator with a ptrdiff_t, moving it forward or backward the indicated number of bits. If the iterator goes out of range, behavior is undefined.
|
inlinenoexcept |
Pre-increment.
|
inlinenoexcept |
Post-increment.
|
inlinenoexcept |
Advance this iterator forward by the indicated number of bits.
|
inlineconstexprnoexcept |
Calculate a signed subtraction of a ptrdiff_t from this iterator, moving it backward or forward the indicated number of bits. If the iterator goes out of range, behavior is undefined.
|
inlineconstexprnoexcept |
Calculate the difference in position between two bit iterators If the two iterators do not point into the same vector, behavior is undefined.
|
inlinenoexcept |
Pre-decrement.
|
inlinenoexcept |
Post-decrement.
|
inlinenoexcept |
Move this iterator backward by the indicated number of bits.
|
inlineconstexprnoexcept |
Compare two bit iterators.
|
inlineconstexprnoexcept |
Compare two bit iterators.
|
inlineconstexprnoexcept |
Compare two bit iterators.
|
inlineconstexprnoexcept |
Compare two bit iterators.
|
inlineconstexprnoexcept |
Compare two bit iterators.