swift
Public Member Functions | List of all members
swift::misc::Iterators::OutputIterator< F > Class Template Reference

Configurable output iterator using a provided functor to do the insertion. More...

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

OutputIteratoroperator* ()
 Dereference (no-op)
 
template<typename T , std::enable_if_t<!std::is_convertible_v< T, OutputIterator >, int > = 0>
OutputIteratoroperator= (T &&value)
 Assignment operator performs the output.
 
OutputIteratoroperator= (const OutputIterator &other)
 Copy assignment operator.
 
 ~OutputIterator ()=default
 Destructor.
 
 OutputIterator (const F &func)
 Constructor.
 
 OutputIterator (F &&func)
 Constructor.
 
 OutputIterator (const OutputIterator &other)
 Constructor.
 
OutputIteratoroperator++ ()
 Advance the iterator (no-op)
 
OutputIterator operator++ (int)
 Advance the iterator (no-op)
 

Detailed Description

template<class F>
class swift::misc::Iterators::OutputIterator< F >

Configurable output iterator using a provided functor to do the insertion.

Definition at line 23 of file iterator.h.


The documentation for this class was generated from the following file: