Skip to content

ludus::foundation::core::UnsignedInteger

Ludus Wiki · API overview · Browse API

Concept

Exact unqualified Ludus 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::UnsignedInteger = 
    std::is_same_v<ValueType, uint8> || std::is_same_v<ValueType, uint16> || std::is_same_v<ValueType, uint32> ||
    std::is_same_v<ValueType, uint64> || std::is_same_v<ValueType, usize>