|
swift
|
Configurable output iterator using a provided functor to do the insertion. More...
#include <iterator.h>
Public Types | |
| using | iterator_category = std::output_iterator_tag |
| Types. | |
| using | value_type = void |
| Types. | |
| using | difference_type = void |
| Types. | |
| using | pointer = void |
| Types. | |
| using | reference = void |
| Types. | |
Public Member Functions | |
| OutputIterator & | operator* () |
| Dereference (no-op). | |
| template<typename T> requires (!std::is_convertible_v<T, OutputIterator>) | |
| OutputIterator & | operator= (T &&value) |
| Assignment operator performs the output. | |
| OutputIterator & | operator= (const OutputIterator &other) |
| Copy assignment operator. | |
| ~OutputIterator ()=default | |
| Destructor. | |
| OutputIterator (const F &func) | |
| Constructor. | |
| OutputIterator (F &&func) | |
| Constructor. | |
| OutputIterator (const OutputIterator &other) | |
| Constructor. | |
| OutputIterator & | operator++ () |
| Advance the iterator (no-op). | |
| OutputIterator | operator++ (int) |
| Advance the iterator (no-op). | |
Configurable output iterator using a provided functor to do the insertion.
Definition at line 23 of file iterator.h.
| using swift::misc::Iterators::OutputIterator< F >::difference_type = void |
Types.
Definition at line 30 of file iterator.h.
| using swift::misc::Iterators::OutputIterator< F >::iterator_category = std::output_iterator_tag |
Types.
Definition at line 28 of file iterator.h.
| using swift::misc::Iterators::OutputIterator< F >::pointer = void |
Types.
Definition at line 31 of file iterator.h.
| using swift::misc::Iterators::OutputIterator< F >::reference = void |
Types.
Definition at line 32 of file iterator.h.
| using swift::misc::Iterators::OutputIterator< F >::value_type = void |
Types.
Definition at line 29 of file iterator.h.
|
inlineexplicit |
Constructor.
Definition at line 37 of file iterator.h.
|
inlineexplicit |
Constructor.
Definition at line 38 of file iterator.h.
|
inline |
Constructor.
Definition at line 39 of file iterator.h.
|
inline |
Dereference (no-op).
Definition at line 49 of file iterator.h.
|
inline |
Advance the iterator (no-op).
Definition at line 44 of file iterator.h.
|
inline |
Advance the iterator (no-op).
Definition at line 45 of file iterator.h.
|
inline |
Copy assignment operator.
Definition at line 60 of file iterator.h.
|
inline |
Assignment operator performs the output.
Definition at line 53 of file iterator.h.