HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
counting_iterator Class Reference

#include <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)
 

Detailed Description

Definition at line 2381 of file format.h.

Member Typedef Documentation

using counting_iterator::difference_type = std::ptrdiff_t

Definition at line 2387 of file format.h.

using counting_iterator::iterator_category = std::output_iterator_tag

Definition at line 2386 of file format.h.

Definition at line 2388 of file format.h.

Definition at line 2389 of file format.h.

Constructor & Destructor Documentation

FMT_CONSTEXPR counting_iterator::counting_iterator ( )
inline

Definition at line 2396 of file format.h.

Member Function Documentation

FMT_CONSTEXPR size_t counting_iterator::count ( ) const
inline

Definition at line 2398 of file format.h.

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

Definition at line 2416 of file format.h.

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

Definition at line 2400 of file format.h.

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

Definition at line 2404 of file format.h.

Friends And Related Function Documentation

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

Definition at line 2410 of file format.h.


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