WPILibC++ 2023.4.3
counting_iterator Class Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/format.h>

Classes

struct  value_type
 

Public Types

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

Public Member Functions

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

Friends

FMT_CONSTEXPR friend counting_iterator operator+ (counting_iterator it, difference_type n)
 

Member Typedef Documentation

◆ difference_type

using counting_iterator::difference_type = std::ptrdiff_t

◆ iterator_category

using counting_iterator::iterator_category = std::output_iterator_tag

◆ pointer

◆ reference

Constructor & Destructor Documentation

◆ counting_iterator()

FMT_CONSTEXPR counting_iterator::counting_iterator ( )
inline

Member Function Documentation

◆ count()

FMT_CONSTEXPR size_t counting_iterator::count ( ) const
inline

◆ FMT_UNCHECKED_ITERATOR()

counting_iterator::FMT_UNCHECKED_ITERATOR ( counting_iterator  )

◆ operator*()

FMT_CONSTEXPR value_type counting_iterator::operator* ( ) const
inline

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

Friends And Related Function Documentation

◆ operator+

FMT_CONSTEXPR friend counting_iterator operator+ ( counting_iterator  it,
difference_type  n 
)
friend

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