WPILibC++ 2024.3.2
detail::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

◆ iterator_category

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

◆ pointer

◆ reference

Constructor & Destructor Documentation

◆ counting_iterator()

FMT_CONSTEXPR detail::counting_iterator::counting_iterator ( )
inline

Member Function Documentation

◆ count()

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

◆ FMT_UNCHECKED_ITERATOR()

detail::counting_iterator::FMT_UNCHECKED_ITERATOR ( counting_iterator  )

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

FMT_CONSTEXPR counting_iterator detail::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: