|
RPNX::DataStructures
Header-only C++ data structures and supporting utilities.
|
Owning type-erased output iterator. More...
#include <dyn_iterator.hpp>
Public Member Functions | |
| dyn_output_iter () | |
| Constructs an empty output iterator. | |
| template<typename It> | |
| dyn_output_iter (It it) | |
| Erases and owns an output iterator value. | |
| dyn_output_iter (dyn_output_iter< V > &&other) | |
| Moves the erased output iterator and leaves the source empty. | |
| dyn_output_iter (dyn_output_iter< V > const &other) | |
| Copies the erased output iterator. | |
| template<typename It> | |
| dyn_output_iter & | operator= (It it) |
| Replaces the target with a newly erased output iterator. | |
| dyn_output_iter & | operator= (dyn_output_iter< V > const &other) |
| Copy-assigns the erased output iterator. | |
| dyn_output_iter & | operator= (dyn_output_iter< V > &&other) |
| Move-assigns the erased output iterator and leaves the source empty. | |
| dyn_output_iter & | operator= (dyn_output_iter< V > &other) |
| Copy-assigns from a mutable erased output iterator. | |
| proxy | operator* () const |
| Returns a proxy for writing the current output position. | |
| dyn_output_iter & | operator++ () |
| Advances one output position. | |
| dyn_output_iter | operator++ (int) |
| Advances and returns the previous position. | |
Owning type-erased output iterator.
Dereference returns a proxy whose assignment writes through the erased iterator. Empty and moved-from instances may only be destroyed or assigned.
| V | Value type accepted by the output proxy. |
|
inline |
Erases and owns an output iterator value.
| It | Concrete output-iterator type. |
| it | Iterator to store. |
|
inline |
Moves the erased output iterator and leaves the source empty.
| other | Iterator to move. |
|
inline |
Copies the erased output iterator.
| other | Iterator to copy. |
|
inline |
Returns a proxy for writing the current output position.
|
inline |
Advances one output position.
|
inline |
Advances and returns the previous position.
|
inline |
Move-assigns the erased output iterator and leaves the source empty.
| other | Iterator to move. |
|
inline |
Copy-assigns from a mutable erased output iterator.
| other | Iterator to copy. |
|
inline |
Copy-assigns the erased output iterator.
| other | Iterator to copy. |
|
inline |
Replaces the target with a newly erased output iterator.
| It | Concrete output-iterator type. |
| it | Iterator to store. |