Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::functional::composition_strategy Concept Reference

Determines whether the given type satisfies the requirements of a composition strategy. More...

#include <Composition.hpp>

Concept definition

template<class T>
&& std::is_empty_v<T>
Checks whether the T denotes an unqualified type.
Definition: stl_extensions.hpp:60
Determines whether the given type satisfies the requirements of a composition strategy.
Definition: Composition.hpp:37

Detailed Description

Determines whether the given type satisfies the requirements of a composition strategy.

Template Parameters
TType to check.

The given type must not contain state and is therefore expected to be an empty type. Additional the given type must be invokable with a tuple of functionals, followed by an variadic amount of arguments. How these functionals are invoked is up to the strategy, but should be checked via concept or SFINAE. The strategy is also allowed to require an explicit set of params.