WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
wpi::rotated_span< T, Extent >::iterator Class Reference

#include <wpi/rotated_span.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = rotated_span::value_type
 
using difference_type = rotated_span::difference_type
 
using pointer = rotated_span::pointer
 
using reference = rotated_span::reference
 

Public Member Functions

constexpr iterator (const rotated_span *obj, size_type idx) noexcept
 
constexpr iteratoroperator++ () noexcept
 
constexpr iterator operator++ (int) noexcept
 
constexpr bool operator== (const iterator &) const =default
 
constexpr reference operator* ()
 

Member Typedef Documentation

◆ difference_type

template<typename T , size_t Extent = std::dynamic_extent>
using wpi::rotated_span< T, Extent >::iterator::difference_type = rotated_span::difference_type

◆ iterator_category

template<typename T , size_t Extent = std::dynamic_extent>
using wpi::rotated_span< T, Extent >::iterator::iterator_category = std::forward_iterator_tag

◆ pointer

template<typename T , size_t Extent = std::dynamic_extent>
using wpi::rotated_span< T, Extent >::iterator::pointer = rotated_span::pointer

◆ reference

template<typename T , size_t Extent = std::dynamic_extent>
using wpi::rotated_span< T, Extent >::iterator::reference = rotated_span::reference

◆ value_type

template<typename T , size_t Extent = std::dynamic_extent>
using wpi::rotated_span< T, Extent >::iterator::value_type = rotated_span::value_type

Constructor & Destructor Documentation

◆ iterator()

template<typename T , size_t Extent = std::dynamic_extent>
wpi::rotated_span< T, Extent >::iterator::iterator ( const rotated_span * obj,
size_type idx )
inlineconstexprnoexcept

Member Function Documentation

◆ operator*()

template<typename T , size_t Extent = std::dynamic_extent>
reference wpi::rotated_span< T, Extent >::iterator::operator* ( )
inlineconstexpr

◆ operator++() [1/2]

template<typename T , size_t Extent = std::dynamic_extent>
iterator & wpi::rotated_span< T, Extent >::iterator::operator++ ( )
inlineconstexprnoexcept

◆ operator++() [2/2]

template<typename T , size_t Extent = std::dynamic_extent>
iterator wpi::rotated_span< T, Extent >::iterator::operator++ ( int )
inlineconstexprnoexcept

◆ operator==()

template<typename T , size_t Extent = std::dynamic_extent>
bool wpi::rotated_span< T, Extent >::iterator::operator== ( const iterator & ) const
constexprdefault

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