Quetzal-CoaTL
The Coalescence Template Library
Loading...
Searching...
No Matches
quetzal::utils::null_output_iterator< T > Class Template Reference

#include <quetzal/utils/null_output_iterator.hpp>

Detailed Description

template<typename T>
class quetzal::utils::null_output_iterator< T >

Allows to discard the output of functions that requires an output iterator.

Note
Use in TajimasD class

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = T
 
using difference_type = T
 
using pointer = T *
 
using reference = T &
 

Public Member Functions

 null_output_iterator (T p)
 Constructor.
 
void operator= (T p)
 Assignment.
 
null_output_iteratoroperator++ ()
 Can be pre-incremented.
 
null_output_iterator operator++ (int)
 Can be post-incremented.
 
null_output_iteratoroperator* ()
 Can be dereferenced.
 

Friends

bool operator== (const null_output_iterator &a, const null_output_iterator &b)
 We want comparison it != end;.
 
bool operator!= (const null_output_iterator &a, const null_output_iterator &b)
 

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