Simple-Vector v1.3.0
sl::vec::modable Concept Reference

Checks if the given type can be used in immutable module operations. More...

#include <Concepts.hpp>

Concept definition

template<class TFrom, class TTo TFrom>
concept sl::vec::modable = requires(TTo lhs, TFrom rhs)
{
{ lhs % rhs } -> std::convertible_to<TTo>;
}
Checks if the given type can be used in immutable module operations.
Definition: Concepts.hpp:135

Detailed Description

Checks if the given type can be used in immutable module operations.

Template Parameters
TFromRight-hand-side type of operation
TToLeft-hand-side type of operation and expected result type