PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::detail::ScratchSequence< T >::const_iterator Class Reference

#include <scratch_sequence.hpp>

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = T
 
using difference_type = std::ptrdiff_t
 
using reference = T
 
using pointer = void
 

Public Member Functions

 const_iterator ()=default
 
T operator* () const
 
const_iterator & operator++ ()
 
const_iterator operator++ (int)
 
const_iterator operator+ (std::size_t n) const
 
bool operator== (const const_iterator &o) const
 
bool operator!= (const const_iterator &o) const
 

Detailed Description

template<class T>
class pineforge::detail::ScratchSequence< T >::const_iterator

Definition at line 26 of file scratch_sequence.hpp.

Member Typedef Documentation

◆ iterator_category

template<class T>
using pineforge::detail::ScratchSequence< T >::const_iterator::iterator_category = std::input_iterator_tag

Definition at line 28 of file scratch_sequence.hpp.

◆ value_type

template<class T>
using pineforge::detail::ScratchSequence< T >::const_iterator::value_type = T

Definition at line 29 of file scratch_sequence.hpp.

◆ difference_type

template<class T>
using pineforge::detail::ScratchSequence< T >::const_iterator::difference_type = std::ptrdiff_t

Definition at line 30 of file scratch_sequence.hpp.

◆ reference

template<class T>
using pineforge::detail::ScratchSequence< T >::const_iterator::reference = T

Definition at line 31 of file scratch_sequence.hpp.

◆ pointer

template<class T>
using pineforge::detail::ScratchSequence< T >::const_iterator::pointer = void

Definition at line 32 of file scratch_sequence.hpp.

Constructor & Destructor Documentation

◆ const_iterator()

template<class T>
pineforge::detail::ScratchSequence< T >::const_iterator::const_iterator ( )
default

Member Function Documentation

◆ operator*()

template<class T>
T pineforge::detail::ScratchSequence< T >::const_iterator::operator* ( ) const
inline

Definition at line 34 of file scratch_sequence.hpp.

◆ operator++() [1/2]

template<class T>
const_iterator & pineforge::detail::ScratchSequence< T >::const_iterator::operator++ ( )
inline

Definition at line 35 of file scratch_sequence.hpp.

References const_iterator().

◆ operator++() [2/2]

template<class T>
const_iterator pineforge::detail::ScratchSequence< T >::const_iterator::operator++ ( int )
inline

Definition at line 36 of file scratch_sequence.hpp.

References const_iterator().

◆ operator+()

template<class T>
const_iterator pineforge::detail::ScratchSequence< T >::const_iterator::operator+ ( std::size_t n) const
inline

Definition at line 37 of file scratch_sequence.hpp.

References const_iterator().

◆ operator==()

template<class T>
bool pineforge::detail::ScratchSequence< T >::const_iterator::operator== ( const const_iterator & o) const
inline

Definition at line 38 of file scratch_sequence.hpp.

References const_iterator().

◆ operator!=()

template<class T>
bool pineforge::detail::ScratchSequence< T >::const_iterator::operator!= ( const const_iterator & o) const
inline

Definition at line 41 of file scratch_sequence.hpp.

References const_iterator().


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