C/C++ API Reference
Loading...
Searching...
No Matches
pw::async2::SelectResult< I, T > Struct Template Reference

Overview

template<size_t I, typename T>
struct pw::async2::SelectResult< I, T >

The poll result of a Pendable within a Selector. This type stores both the index of the pendable, and its returned value on completion, making it possible to identify which pendable completed.

Public Attributes

value
 

Static Public Attributes

static constexpr size_t kIndex = I
 

Friends

template<typename... Pendables>
class Selector
 

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