StormByte C++ Library 0.0.9999
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::Enum Concept Reference

Concept to check if a type is an enumeration. More...

#include <type_traits.hxx>

Concept definition

template<typename E>
concept StormByte::Type::Enum = std::is_enum_v<std::remove_cv_t<E>>
Concept to check if a type is an enumeration.
Definition type_traits.hxx:148

Detailed Description

Concept to check if a type is an enumeration.

Template Parameters
EType to check.

A type satisfies Enum if it is an enumeration type (enum or enum class).

template<Type::Enum E>
void process(E value) { ... }