TIMPI
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
null_output_iterator< T > Struct Template Reference

Public Types

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

Public Member Functions

template<typename T2 >
void operator= (const T2 &)
 
null_output_iteratoroperator++ ()
 
null_output_iterator operator++ (int)
 
null_output_iteratoroperator* ()
 

Detailed Description

template<typename T>
struct null_output_iterator< T >

Definition at line 39 of file packed_range_unit.C.

Member Typedef Documentation

◆ difference_type

template<typename T >
using null_output_iterator< T >::difference_type = std::ptrdiff_t

Definition at line 43 of file packed_range_unit.C.

◆ iterator_category

template<typename T >
using null_output_iterator< T >::iterator_category = std::output_iterator_tag

Definition at line 41 of file packed_range_unit.C.

◆ pointer

template<typename T >
using null_output_iterator< T >::pointer = T*

Definition at line 44 of file packed_range_unit.C.

◆ reference

template<typename T >
using null_output_iterator< T >::reference = T&

Definition at line 45 of file packed_range_unit.C.

◆ value_type

template<typename T >
using null_output_iterator< T >::value_type = T

Definition at line 42 of file packed_range_unit.C.

Member Function Documentation

◆ operator*()

Definition at line 60 of file packed_range_unit.C.

60{ return *this; }

◆ operator++() [1/2]

Definition at line 50 of file packed_range_unit.C.

50 {
51 return *this;
52 }

◆ operator++() [2/2]

Definition at line 54 of file packed_range_unit.C.

54 {
55 return null_output_iterator(*this);
56 }

◆ operator=()

template<typename T >
template<typename T2 >
void null_output_iterator< T >::operator= ( const T2 )
inline

Definition at line 48 of file packed_range_unit.C.

48{}

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