StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Type::Signed Concept Reference

Signed arithmetic type (std::is_signed). More...

#include <StormByte/type_traits/categories.hxx>

Concept definition

template<typename T>
concept StormByte::Type::Signed = std::is_signed_v<T>
Signed arithmetic type (std::is_signed).
Definition categories.hxx:223

Detailed Description

Signed arithmetic type (std::is_signed).

Template Parameters
TType to test.

Floating-point types are signed. bool is not.

template<Type::Signed T>
T negate(T value) { return -value; }