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

Determines whether two types can be used in operator <<= statements and checks if the return type is convertible to the expected. More...

#include <operators.hpp>

Concept definition

template<class T1, class T2, class TResult std::remove_cvref_t<T1>&>
concept sl::concepts::left_shift_assignable_with_r = requires(T1 lhs, T2 rhs)
{
{ lhs <<= rhs } -> std::convertible_to<TResult>;
}
Determines whether two types can be used in operator <<= statements and checks if the return type is ...
Definition: operators.hpp:203

Detailed Description

Determines whether two types can be used in operator <<= statements and checks if the return type is convertible to the expected.

Template Parameters
T1The left-hand-side type
T2the right-hand-side-type
TResultThe expected return type