WPILibC++ 2027.0.0-alpha-2
Loading...
Searching...
No Matches
slp::VariableMatrix::iterator Class Reference

#include </home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/sleipnir/include/sleipnir/autodiff/variable_matrix.hpp>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = Variable
 
using difference_type = std::ptrdiff_t
 
using pointer = Variable*
 
using reference = Variable&
 

Public Member Functions

constexpr iterator () noexcept=default
 
constexpr iterator (gch::small_vector< Variable >::iterator it) noexcept
 
constexpr iteratoroperator++ () noexcept
 
constexpr iterator operator++ (int) noexcept
 
constexpr bool operator== (const iterator &) const noexcept=default
 
constexpr reference operator* () const noexcept
 

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using slp::VariableMatrix::iterator::iterator_category = std::forward_iterator_tag

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ iterator() [1/2]

slp::VariableMatrix::iterator::iterator ( )
constexprdefaultnoexcept

◆ iterator() [2/2]

slp::VariableMatrix::iterator::iterator ( gch::small_vector< Variable >::iterator it)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ operator*()

reference slp::VariableMatrix::iterator::operator* ( ) const
inlineconstexprnoexcept

◆ operator++() [1/2]

iterator & slp::VariableMatrix::iterator::operator++ ( )
inlineconstexprnoexcept

◆ operator++() [2/2]

iterator slp::VariableMatrix::iterator::operator++ ( int )
inlineconstexprnoexcept

◆ operator==()

bool slp::VariableMatrix::iterator::operator== ( const iterator & ) const
constexprdefaultnoexcept

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