Simple-Utility v2.3.1
All Classes Namespaces Files Functions Variables Typedefs Friends Macros Modules Pages Concepts
sl::concepts::negate Concept Reference

Determines whether a type can be used in operator - expression. More...

#include <operators.hpp>

Concept definition

template<class T>
concept sl::concepts::negate = requires(T t)
{
{ -t };
}
Determines whether a type can be used in operator - expression.
Definition: operators.hpp:804

Detailed Description

Determines whether a type can be used in operator - expression.

Template Parameters
TThe type to check