xentara-utils v2.0.4
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::utils::core::FlagEnum Concept Reference

A concept that represents an enum suitable as a flag. More...

#include <xentara/utils/core/Flags.hpp>

Concept definition

template<typename Enum>
{
Enum::kLastFlag;
}
A concept that represents an enum suitable as a flag.
Definition Flags.hpp:19
T make_unique(T... args)

Detailed Description

A concept that represents an enum suitable as a flag.

xentara::utils::core::Flags supports all scoped enums (enum class or enum struct) that have a value named kLastFlag. kLastFlag must be the value of the highest flag the enum supports.

Template Parameters
EnumThe enum type