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::ScopedEnum Concept Reference

Concept to check if a type is a scoped enumeration (enum class). More...

#include <type_traits.hxx>

Concept definition

template<typename E>
concept StormByte::Type::ScopedEnum = std::is_scoped_enum_v<E>
Concept to check if a type is a scoped enumeration (enum class).
Definition type_traits.hxx:161

Detailed Description

Concept to check if a type is a scoped enumeration (enum class).

Template Parameters
EType to check.

A type satisfies ScopedEnum if it is a scoped enumeration (enum class).

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