Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::RefSpan< T >::iterator Class Reference

#include <ref_span.hpp>

Public Member Functions

 iterator (T *const *array, std::size_t pos)
 
T & operator* () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (const iterator &other) const
 
bool operator!= (const iterator &other) const
 

Private Attributes

T *const * array
 
std::size_t pos
 

Detailed Description

template<typename T>
class bb::RefSpan< T >::iterator

Definition at line 61 of file ref_span.hpp.

Constructor & Destructor Documentation

◆ iterator()

template<typename T >
bb::RefSpan< T >::iterator::iterator ( T *const *  array,
std::size_t  pos 
)
inline

Definition at line 63 of file ref_span.hpp.

Member Function Documentation

◆ operator!=()

template<typename T >
bool bb::RefSpan< T >::iterator::operator!= ( const iterator other) const
inline

Definition at line 84 of file ref_span.hpp.

◆ operator*()

template<typename T >
T & bb::RefSpan< T >::iterator::operator* ( ) const
inline

Definition at line 68 of file ref_span.hpp.

◆ operator++() [1/2]

template<typename T >
iterator & bb::RefSpan< T >::iterator::operator++ ( )
inline

Definition at line 70 of file ref_span.hpp.

◆ operator++() [2/2]

template<typename T >
iterator bb::RefSpan< T >::iterator::operator++ ( int  )
inline

Definition at line 76 of file ref_span.hpp.

◆ operator==()

template<typename T >
bool bb::RefSpan< T >::iterator::operator== ( const iterator other) const
inline

Definition at line 83 of file ref_span.hpp.

Member Data Documentation

◆ array

template<typename T >
T* const* bb::RefSpan< T >::iterator::array
private

Definition at line 87 of file ref_span.hpp.

◆ pos

template<typename T >
std::size_t bb::RefSpan< T >::iterator::pos
private

Definition at line 88 of file ref_span.hpp.


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