Fastly Compute C++ SDK
Loading...
Searching...
No Matches
fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator Class Reference

#include <rust_iterator_range.h>

Public Types

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

Public Member Functions

 iterator ()
 iterator (RustIteratorRange *range)
iteratoroperator++ ()
iterator operator++ (int)
value_typeoperator* ()
bool operator== (const iterator &other) const
bool operator!= (const iterator &other) const

Member Typedef Documentation

◆ difference_type

template<class CppRng, class RustIt>
using fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::difference_type = std::ptrdiff_t

◆ iterator_category

template<class CppRng, class RustIt>
using fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::iterator_category = std::input_iterator_tag

◆ pointer

template<class CppRng, class RustIt>
using fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::pointer = value_type *

◆ reference

template<class CppRng, class RustIt>
using fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::reference = value_type &

◆ value_type

template<class CppRng, class RustIt>
using fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::value_type
Initial value:
typename decltype(std::declval<CppRng>().next())::value_type
typename decltype(std::declval< CppRng >().next())::value_type value_type
Definition rust_iterator_range.h:23

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<class CppRng, class RustIt>
fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::iterator ( )
inline

◆ iterator() [2/2]

template<class CppRng, class RustIt>
fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::iterator ( RustIteratorRange * range)
inlineexplicit

Member Function Documentation

◆ operator!=()

template<class CppRng, class RustIt>
bool fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::operator!= ( const iterator & other) const
inline

◆ operator*()

template<class CppRng, class RustIt>
value_type & fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::operator* ( )
inline

◆ operator++() [1/2]

template<class CppRng, class RustIt>
iterator & fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<class CppRng, class RustIt>
iterator fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::operator++ ( int )
inline

◆ operator==()

template<class CppRng, class RustIt>
bool fastly::detail::RustIteratorRange< CppRng, RustIt >::iterator::operator== ( const iterator & other) const
inline

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