OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::noexcept_casting_iterator< Iterator, T, S > Struct Template Reference

Default instantiation of basic_noexcept_casting_iterator. More...

#include <eagine/iterator.hpp>

Additional Inherited Members

- Public Types inherited from eagine::basic_transforming_iterator< Iterator, T, S, S(*)(std::iterator_traits< Iterator >::reference) noexcept, noexcept_casting_iterator< Iterator, T, S > >
using value_type = T
 Alias for value type.
 
using reference = const T &
 Alias for pointer type.
 
using pointer = const T *
 Alias for pointer type.
 
- Public Types inherited from eagine::basic_selfref_iterator< Iterator, noexcept_casting_iterator< Iterator, T, S > >
using reference = const Iterator &
 Alias for reference type.
 
using pointer = const Iterator *
 Alias for pointer type.
 
using iterator_category = std::random_access_iterator_tag
 Iterator caregoty.
 
- Public Types inherited from eagine::basic_iterable_type< Iterator, noexcept_casting_iterator< Iterator, T, S > >
using value_type = Iterator
 Alias for the value type.
 
using difference_type = decltype(std::declval< Iterator >() - std::declval< Iterator >())
 Alias for the difference type.
 
- Public Member Functions inherited from eagine::basic_transforming_iterator< Iterator, T, S, S(*)(std::iterator_traits< Iterator >::reference) noexcept, noexcept_casting_iterator< Iterator, T, S > >
constexpr basic_transforming_iterator ()=default
 Default constructor.
 
constexpr basic_transforming_iterator (Iterator iter, S(*)(std::iterator_traits< Iterator >::reference) noexcept transf)
 Initialization for the underlying iterator and transform callable.
 
constexpr auto operator* () const -> const T &
 Dereference operation.
 
- Public Member Functions inherited from eagine::basic_selfref_iterator< Iterator, noexcept_casting_iterator< Iterator, T, S > >
constexpr auto operator* () const noexcept -> const Iterator &
 Dereference operator.
 
- Public Member Functions inherited from eagine::basic_iterable_type< Iterator, noexcept_casting_iterator< Iterator, T, S > >
constexpr basic_iterable_type ()=default
 Default constructor.
 
constexpr basic_iterable_type (Iterator value) noexcept
 Initializing constructor.
 
constexpr operator Iterator () const noexcept
 Explicit conversion to the wrapped iterable type.
 
constexpr auto operator++ () noexcept -> auto &
 Pre-increment operator.
 
constexpr auto operator++ (int) noexcept -> noexcept_casting_iterator< Iterator, T, S >
 Post-increment operator.
 
constexpr auto operator+= (difference_type d) noexcept -> auto &
 Addition operator.
 
constexpr auto operator-- () noexcept -> auto &
 Pre-decrement operator.
 
constexpr auto operator-- (int) noexcept -> noexcept_casting_iterator< Iterator, T, S >
 Post-decrement operator.
 
constexpr auto operator-= (difference_type d) noexcept -> auto &
 Subtraction operator.
 

Detailed Description

template<typename Iterator, typename T, typename S>
struct eagine::noexcept_casting_iterator< Iterator, T, S >

Default instantiation of basic_noexcept_casting_iterator.

Template Parameters
Iteratorthe underlying iterator type.
Tthe type-case value type of this iterator.
Sthe value type of the underlying iterator.

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

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).