Explicit specialization for promise<void>.
More...
#include <wpi/future.h>
Explicit specialization for promise<void>.
◆ promise() [1/3]
Constructs an empty promise.
◆ promise() [2/3]
◆ promise() [3/3]
◆ ~promise()
Sets the promised value if not already set.
◆ get_future()
Gets a future for this promise.
- Returns
- The future
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set_value()
Sets the promised value.
Only effective once (subsequent calls will be ignored).
◆ swap()
Swaps this promise with another one.
◆ PromiseFactory< void >
The documentation for this class was generated from the following file: