StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
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:177

Detailed Description

Signed arithmetic type (std::is_signed).

Template Parameters
TType to test.
Note
Floating-point types are signed. bool is not.
template<Type::Signed T>
T negate(T value) { return -value; }