Sleipnir C++ API
Loading...
Searching...
No Matches
sleipnir::VariableMatrix::iterator Class Reference

#include <sleipnir/autodiff/VariableMatrix.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

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

Member Typedef Documentation

◆ difference_type

◆ iterator_category

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ iterator()

sleipnir::VariableMatrix::iterator::iterator ( small_vector< Variable >::iterator  it)
inlineexplicit

Member Function Documentation

◆ operator*()

reference sleipnir::VariableMatrix::iterator::operator* ( )
inline

◆ operator++() [1/2]

iterator & sleipnir::VariableMatrix::iterator::operator++ ( )
inline

◆ operator++() [2/2]

iterator sleipnir::VariableMatrix::iterator::operator++ ( int  )
inline

◆ operator==()

bool sleipnir::VariableMatrix::iterator::operator== ( const iterator ) const
default

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