|
dune-common 2.11
|
Loading...
Searching...
No Matches
future.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
81 : _future(std::make_unique<FutureModel<PseudoFuture<T>>>(PseudoFuture<T>(std::forward<U>(data))))
A few common exception classes.
STL namespace.
constexpr auto get(std::integer_sequence< T, II... >, std::integral_constant< std::size_t, pos >={})
Return the entry at position pos of the given sequence.
Definition integersequence.hh:22
Default exception if a function was called while the object is not in a valid state for that function...
Definition exceptions.hh:375
This exception is thrown when ready(), wait() or get() is called on an invalid future....
Definition future.hh:20
Type-erasure for future-like objects. A future-like object is a object satisfying the interface of Fu...
Definition future.hh:30
T get()
Waits until the future is ready and returns the resulting value.
Definition future.hh:97
Future()=default
bool valid() const
Checks whether the future is valid. I.e. ‘get()’ was not called on that future and when it was not de...
Definition future.hh:114
T get(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8