Sleipnir C++ API
Loading...
Searching...
No Matches
sleipnir::VariableMatrix::const_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 const_reference = const Variable &
 

Public Member Functions

 const_iterator (small_vector< Variable >::const_iterator it)
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
bool operator== (const const_iterator &) const =default
 
const_reference operator* () const
 

Member Typedef Documentation

◆ const_reference

◆ difference_type

◆ iterator_category

◆ pointer

◆ value_type

Constructor & Destructor Documentation

◆ const_iterator()

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

Member Function Documentation

◆ operator*()

const_reference sleipnir::VariableMatrix::const_iterator::operator* ( ) const
inline

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator==()

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

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