Skip to content

ludus::foundation::core::Integer

Ludus Wiki · API overview · Browse API

Concept

Exact unqualified Ludus signed or unsigned integer alias; excludes bool, characters and enums.

Declared in modules/foundation/base/include/ludus/foundation/base/checked_integer.hpp

#include <ludus/foundation/base/checked_integer.hpp>
template<typename ValueType>
concept ludus::foundation::core::Integer = 
    UnsignedInteger<ValueType> || std::is_same_v<ValueType, int8> || std::is_same_v<ValueType, int16> ||
    std::is_same_v<ValueType, int32> || std::is_same_v<ValueType, int64> || std::is_same_v<ValueType, isize>