Wrapper class for a non-commutative binary operator. More...
Public Member Functions | |
template<typename T > | |
non_commutative_wrapper (T &&op) noexcept | |
Related Functions | |
(Note that these are not member functions.) | |
template<typename BinaryOperation > | |
constexpr non_commutative_wrapper< typename std::decay< BinaryOperation >::type > | non_commutative (BinaryOperation &&op) noexcept |
Declares binary operator op as non-commutative. More... | |
template<typename R , typename T1 , typename T2 > | |
constexpr non_commutative_wrapper< R(T1, T2)> | non_commutative (R(*f)(T1, T2)) noexcept |
Declares function f as non-commutative. More... | |
Wrapper class for a non-commutative binary operator.
()