di 0.1.0
Loading...
Searching...
No Matches
di::function::Generator< Ref, Value > Class Template Reference

#include <di/function/generator.h>

Inheritance diagram for di::function::Generator< Ref, Value >:
di::container::ViewInterface< Generator< Ref, void > > di::meta::EnableView< Generator< Ref, void > >

Public Types

using promise_type = PromiseType

Public Member Functions

 Generator (Generator &&other)
 ~Generator ()
auto operator= (Generator other) -> Generator &
auto begin ()
auto end () const
Public Member Functions inherited from di::container::ViewInterface< Generator< Ref, void > >
constexpr auto empty () -> bool requires(concepts::SizedContainer< Generator< Ref, void > >||concepts::ForwardContainer< Generator< Ref, void > >)
constexpr operator bool ()
constexpr auto cbegin ()
constexpr auto cend ()
constexpr auto data ()
constexpr auto size ()
constexpr auto front ()
constexpr auto back ()
constexpr auto operator[] (meta::ContainerSSizeType< Cont > n) -> decltype(auto)
constexpr auto at (meta::ContainerSSizeType< Cont > n) -> Optional< meta::ContainerReference< Cont > >

Member Typedef Documentation

◆ promise_type

template<typename Ref, typename Value = void>
using di::function::Generator< Ref, Value >::promise_type = PromiseType

Constructor & Destructor Documentation

◆ Generator()

template<typename Ref, typename Value = void>
di::function::Generator< Ref, Value >::Generator ( Generator< Ref, Value > && other)
inline

◆ ~Generator()

template<typename Ref, typename Value = void>
di::function::Generator< Ref, Value >::~Generator ( )
inline

Member Function Documentation

◆ begin()

template<typename Ref, typename Value = void>
auto di::function::Generator< Ref, Value >::begin ( )
inline

◆ end()

template<typename Ref, typename Value = void>
auto di::function::Generator< Ref, Value >::end ( ) const
inline

◆ operator=()

template<typename Ref, typename Value = void>
auto di::function::Generator< Ref, Value >::operator= ( Generator< Ref, Value > other) ->Generator &
inline

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