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

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

#include <Concepts.hpp>

Concept definition

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

Detailed Description

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

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