An std::forward_iterator over the bytes of a MultiBuf.
|
|
using | value_type = std::byte |
| |
|
using | difference_type = std::ptrdiff_t |
| |
|
using | reference = std::byte & |
| |
|
using | pointer = std::byte * |
| |
|
using | iterator_category = std::forward_iterator_tag |
| |
|
|
reference | operator* () const |
| |
|
pointer | operator-> () const |
| |
|
iterator & | operator++ () |
| |
|
iterator | operator++ (int) |
| |
|
iterator | operator+ (size_t rhs) const |
| |
|
iterator & | operator+= (size_t rhs) |
| |
|
constexpr bool | operator== (const iterator &other) const |
| |
|
constexpr bool | operator!= (const iterator &other) const |
| |
|
constexpr Chunk * | chunk () const |
| | Returns the current Chunk pointed to by this iterator.
|
| |
| constexpr size_t | byte_index () const |
| |
◆ byte_index()
| constexpr size_t pw::multibuf::MultiBuf::iterator::byte_index |
( |
| ) |
const |
|
inlineconstexpr |
Returns the index of the byte pointed to by this iterator within the current Chunk.
◆ MultiBuf
MultiBuf interface with mutable data and the option of adding layered data views.
The documentation for this class was generated from the following file: