Audio Processing Framework (APF) version 0.5.0
|
An iterator which does nothing. More...
#include <apf/iterator.h>
Classes | |
struct | output_proxy |
Helper class for discard_iterator. More... | |
Public Types | |
using | iterator_category = std::output_iterator_tag |
using | value_type = void |
using | difference_type = void |
using | pointer = void |
using | reference = output_proxy |
Public Member Functions | |
reference | operator* () |
Dereference operator. More... | |
self & | operator++ () |
Pre-increment operator (does nothing!) More... | |
bool | operator== (const self &) const |
Equality operator – always true! More... | |
self | operator++ (int) |
Postincrement operator (using preincrement operator). More... | |
bool | operator!= (const self &rhs) const |
Unequality operator (using equality operator). More... | |
An iterator which does nothing.
The discard_iterator has the features of an output iterator, but additionally, the += operator can be used. Two discard_iterators can be compared with ==
and !=
, but they are always equal!
+=
operator can also be used with similar behaviourDefinition at line 1350 of file iterator.h.
using apf::discard_iterator::iterator_category = std::output_iterator_tag |
Definition at line 1356 of file iterator.h.
using apf::discard_iterator::value_type = void |
Definition at line 1357 of file iterator.h.
using apf::discard_iterator::difference_type = void |
Definition at line 1358 of file iterator.h.
using apf::discard_iterator::pointer = void |
Definition at line 1359 of file iterator.h.
Definition at line 1373 of file iterator.h.
|
inline |
Dereference operator.
Definition at line 1377 of file iterator.h.
|
inline |
Pre-increment operator (does nothing!)
Definition at line 1383 of file iterator.h.
|
inline |
Equality operator – always true!
Definition at line 1386 of file iterator.h.
|
inline |
Postincrement operator (using preincrement operator).
Definition at line 1388 of file iterator.h.
|
inline |
Unequality operator (using equality operator).
Definition at line 1389 of file iterator.h.