VIPRA Documentation
Loading...
Searching...
No Matches
detail::counting_iterator Class Reference

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 auto count () const -> size_t
 
FMT_CONSTEXPR auto operator++ () -> counting_iterator &
 
FMT_CONSTEXPR auto operator++ (int) -> counting_iterator
 
FMT_CONSTEXPR auto operator* () const -> value_type
 

Friends

FMT_CONSTEXPR friend auto operator+ (counting_iterator it, difference_type n) -> counting_iterator
 

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