OpenKalman
Public Types | Public Member Functions | Friends | List of all members
OpenKalman::collections::from_tuple< Tup >::iterator< Const > Struct Template Reference

Iterator for from_tuple. More...

#include <from_tuple.hpp>

Public Types

using iterator_concept = std::random_access_iterator_tag
 
using iterator_category = std::random_access_iterator_tag
 
using value_type = maybe_const< Const, typename call_table::element_type >
 
using difference_type = std::ptrdiff_t
 
using reference = typename call_table::element_type &
 
using pointer = void
 

Public Member Functions

constexpr iterator (Parent &p, std::size_t pos)
 
constexpr iterator (iterator< not Const > it)
 
decltype(auto) constexpr operator* ()
 
decltype(auto) constexpr operator* () const
 
decltype(auto) constexpr operator[] (difference_type offset)
 
decltype(auto) constexpr operator[] (difference_type offset) const
 
constexpr auto & operator++ ()
 
constexpr auto operator++ (int)
 
constexpr auto & operator-- ()
 
constexpr auto operator-- (int)
 
constexpr auto & operator+= (const difference_type diff)
 
constexpr auto & operator-= (const difference_type diff)
 
constexpr bool operator!= (const iterator &other) const
 
constexpr bool operator< (const iterator &other) const
 
constexpr bool operator> (const iterator &other) const
 
constexpr bool operator<= (const iterator &other) const
 
constexpr bool operator>= (const iterator &other) const
 

Friends

constexpr auto operator+ (const iterator &it, const difference_type diff)
 
constexpr auto operator+ (const difference_type diff, const iterator &it)
 
constexpr auto operator- (const iterator &it, const difference_type diff)
 
constexpr difference_type operator- (const iterator &it, const iterator &other)
 
constexpr bool operator== (const iterator &it, const iterator &other)
 

Detailed Description

template<typename Tup>
template<bool Const>
struct OpenKalman::collections::from_tuple< Tup >::iterator< Const >

Iterator for from_tuple.

Template Parameters
ConstWhether the iterator is constant

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