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

Determines whether two types can be used in operator <<, >>, <<= and >>= statements and checks if the return types are convertible to the expected ones. More...

#include <operators.hpp>

Concept definition

template<class T1, class T2, class TResult std::remove_cvref_t<T1>, class TAssignResult std::remove_cvref_t<T1>&>
Determines whether two types can be used in operator >>= and operator <<= statements and checks if th...
Definition: operators.hpp:240
Determines whether two types can be used in operator >> and operator << statements and checks if the ...
Definition: operators.hpp:126
Determines whether two types can be used in operator <<, >>, <<= and >>= statements and checks if the...
Definition: operators.hpp:276

Detailed Description

Determines whether two types can be used in operator <<, >>, <<= and >>= statements and checks if the return types are convertible to the expected ones.

Template Parameters
T1The left-hand-side type
T2the right-hand-side-type
TResultThe expected return type of the non-assign operations
TAssignResultThe expected return type of shift assign operations