Classes | Public Types | Public Member Functions | Private Attributes | Friends | List of all members
detail::counting_iterator Class Reference

#include <compile.h>

Classes

struct  value_type
 

Public Types

using _Unchecked_type = counting_iterator
 
using difference_type = std::ptrdiff_t
 
using iterator_category = std::output_iterator_tag
 
using pointer = void
 
using reference = void
 

Public Member Functions

size_t count () const
 
 counting_iterator ()
 
value_type operator* () const
 
counting_iteratoroperator++ ()
 
counting_iterator operator++ (int)
 

Private Attributes

size_t count_
 

Friends

counting_iterator operator+ (counting_iterator it, difference_type n)
 

Detailed Description

Definition at line 18 of file compile.h.

Member Typedef Documentation

◆ _Unchecked_type

Definition at line 27 of file compile.h.

◆ difference_type

Definition at line 24 of file compile.h.

◆ iterator_category

using detail::counting_iterator::iterator_category = std::output_iterator_tag

Definition at line 23 of file compile.h.

◆ pointer

Definition at line 25 of file compile.h.

◆ reference

Definition at line 26 of file compile.h.

Constructor & Destructor Documentation

◆ counting_iterator()

detail::counting_iterator::counting_iterator ( )
inline

Definition at line 33 of file compile.h.

Member Function Documentation

◆ count()

size_t detail::counting_iterator::count ( ) const
inline

Definition at line 35 of file compile.h.

◆ operator*()

value_type detail::counting_iterator::operator* ( ) const
inline

Definition at line 52 of file compile.h.

◆ operator++() [1/2]

counting_iterator& detail::counting_iterator::operator++ ( )
inline

Definition at line 37 of file compile.h.

◆ operator++() [2/2]

counting_iterator detail::counting_iterator::operator++ ( int  )
inline

Definition at line 41 of file compile.h.

Friends And Related Function Documentation

◆ operator+

counting_iterator operator+ ( counting_iterator  it,
difference_type  n 
)
friend

Definition at line 47 of file compile.h.

Member Data Documentation

◆ count_

size_t detail::counting_iterator::count_
private

Definition at line 20 of file compile.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:12:56