Sequoia
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
sequoia::maths::results_accumulator< ConcurrencyModel > Class Template Reference

Public Types

using model_type = ConcurrencyModel
 
using return_type = typename model_type::return_type
 

Public Member Functions

 results_accumulator (ConcurrencyModel &model)
 
template<class Fn , class... Args>
requires std::invocable<Fn, Args...>&& std::is_convertible_v<std::invoke_result_t<Fn, Args...>, return_type>
void push (Fn fn, Args &&... args)
 
std::vector< std::future< return_type > > extract_results () noexcept(noexcept(std::is_nothrow_move_constructible_v< return_type >))
 

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