Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::concepts::exclusive_disjunctive_assign_with_r Concept Reference

Determines whether two types can be used in operator ^= expressions and if the return type is convertible to the expected one. More...

#include <operators.hpp>

Concept definition

template<class TLhs, class TRhs, class TResult std::remove_cvref_t<TLhs>&>
concept sl::concepts::exclusive_disjunctive_assign_with_r = requires(TLhs lhs, TRhs rhs)
{
{ lhs ^= rhs } -> std::convertible_to<TResult>;
}
Determines whether two types can be used in operator ^= expressions and if the return type is convert...
Definition: operators.hpp:547

Detailed Description

Determines whether two types can be used in operator ^= expressions and if the return type is convertible to the expected one.

Template Parameters
TLhsThe left-hand-side type
TRhsthe right-hand-side-type
TResultThe expected return type