FleCSI User API Version: 2.3.2
 
Loading...
Searching...
No Matches
future< Return > Struct Template Reference

Single-valued future. More...

Public Member Functions

Return get (bool silence_warnings=false)
 Get the task's result.
 
void wait ()
 Wait on the task to finish.
 

Detailed Description

template<typename Return>
struct future< Return >

Single-valued future.

Member Function Documentation

◆ wait()

template<typename Return >
void wait ( )

Wait on the task to finish.

◆ get()

template<typename Return >
Return get ( bool silence_warnings = false)
nodiscard

Get the task's result.