futures/algorithm/policies.hpp
Algorithm execution policies.
#include <futures/algorithm/policies.hpp>
Namespaces
Name | Description |
---|---|
futures | Main library namespace. |
Classes
Classes | Description |
---|---|
is_execution_policy | Determines whether T is a standard or implementation-defined execution policy type. (struct) |
Description
This file defines the policies we can use to determine the appropriate executor for algorithms.
The traits help us generate auxiliary algorithm overloads This is somewhat similar to the pattern of traits and algorithms for ranges and views It allows us to get algorithm overloads for free, including default inference of the best execution policies
See Also:
Updated on 2023-01-04