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

Determines whether the given type satisfies the constraints of a operator-policy. More...

#include <BasicClosure.hpp>

Concept definition

template<template< class > class T>
Determines whether the given type satisfies the constraints of a operator-policy.
Definition: BasicClosure.hpp:98

Detailed Description

Determines whether the given type satisfies the constraints of a operator-policy.

Template Parameters
TType to check.

There are not many syntactic constraints, the concept can check for. The policy enables the various composing operators for the closure type. It should define a binary operator(-set) and return a composition (wrapped in another closure type) of both.