Pigweed
C/C++ API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | Friends | List of all members
pw::async2::SelectResult< I, T > Struct Template Reference

Public Attributes

value
 

Static Public Attributes

static constexpr size_t kIndex = I
 

Friends

template<typename... Pendables>
class Selector
 

Detailed Description

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.


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