|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Utility functions for working with std::future collections. More...
Go to the source code of this file.
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
Functions | |
| template<typename T > | |
| DynList< T > | Aleph::get_futures (DynList< std::future< T > > &future_list) |
| Collect results from a list of futures. | |
| template<typename T > | |
| DynList< T > | Aleph::get_futures (DynList< std::future< T > > &&future_list) |
| Collect results from a list of futures (rvalue overload). | |
| void | Aleph::get_futures (DynList< std::future< void > > &future_list) |
| Wait for all void futures to complete. | |
| void | Aleph::get_futures (DynList< std::future< void > > &&future_list) |
| Wait for all void futures to complete (rvalue overload). | |
| template<typename T > | |
| bool | Aleph::all_ready (DynList< std::future< T > > &future_list) |
| Check if all futures in a list are ready. | |
| template<typename T > | |
| size_t | Aleph::count_ready (DynList< std::future< T > > &future_list) |
| Count how many futures are ready. | |
Utility functions for working with std::future collections.
This header provides convenient functions for collecting results from a list of std::future objects. It simplifies the common pattern of waiting for multiple asynchronous operations to complete and gathering their results.
Definition in file future_utils.H.