IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::TaskPromise< T & > Class Template Reference

#include <ice/task_promise.hxx>

Inheritance diagram for ice::TaskPromise< T & >:
ice::TaskPromiseBase ice::TaskPromiseBase

Public Member Functions

auto get_return_object () noexcept -> ice::Task< T & >
void return_value (T &value) noexcept
auto result () const noexcept -> T &
Public Member Functions inherited from ice::TaskPromiseBase
auto initial_suspend () const noexcept
auto final_suspend () const noexcept
auto set_continuation (ice::coroutine_handle<> coro) noexcept
auto continuation () const noexcept -> ice::coroutine_handle<>
void unhandled_exception () const noexcept
auto operator new (size_t size) noexcept -> void *
void operator delete (void *ptr) noexcept

Additional Inherited Members

Public Types inherited from ice::TaskPromiseBase
using TaskDebugAllocator = ice::detail::TaskDebugAllocator
Protected Member Functions inherited from ice::TaskPromiseBase
 TaskPromiseBase () noexcept=default

Member Function Documentation

◆ get_return_object()

template<typename T>
auto ice::TaskPromise< T & >::get_return_object ( ) -> ice::Task< T & >
inlinenoexcept

◆ result()

template<typename T>
auto ice::TaskPromise< T & >::result ( ) const -> T &
inlinenoexcept

◆ return_value()

template<typename T>
void ice::TaskPromise< T & >::return_value ( T & value)
inlinenoexcept

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