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

Determines whether the given type can be used on both sides of operator <<, >>, <<= and >>= statements and checks if the return types are convertible to the expected ones. More...

#include <operators.hpp>

Concept definition

template<class T, class TResult std::remove_cvref_t<T>, class TAssignResult std::remove_cvref_t<T>&>
Determines whether the given type can be used on both sides of operator <<, >>, <<= and >>= statement...
Definition: operators.hpp:294
Determines whether two types can be used in operator <<, >>, <<= and >>= statements and checks if the...
Definition: operators.hpp:276

Detailed Description

Determines whether the given type can be used on both sides of operator <<, >>, <<= and >>= statements and checks if the return types are convertible to the expected ones.

Template Parameters
TThe type to check
TResultThe expected return type of the non-assign operations
TAssignResultThe expected return type of shift assign operations