#include <type_traits>
#include <string_view>
#include <array>
#include <utility>
#include <algorithm>
#include <iostream>
Go to the source code of this file.
◆ DECLARE_ENUM_STRINGIFYER
#define DECLARE_ENUM_STRINGIFYER |
( |
|
Enum | ) |
::std::ostream& operator <<(::std::ostream& os, const Enum v) |
◆ DEFINE_ENUM_STRINGIFYER_LIST
#define DEFINE_ENUM_STRINGIFYER_LIST |
( |
|
Enum, |
|
|
|
... |
|
) |
| |
Value:::std::ostream& operator <<(::std::ostream& os, const Enum v) \
{ \
return os << '(' << #Enum << ')' << static_cast<int>(v); \
} static_assert(true, "")
Definition at line 107 of file EnumUtilities.hpp.
◆ DEFINE_ENUM_STRINGIFYER_RANGE
#define DEFINE_ENUM_STRINGIFYER_RANGE |
( |
|
Enum, |
|
|
|
min_value, |
|
|
|
max_value |
|
) |
| |
Value:::std::ostream& operator <<(::std::ostream& os, const Enum v) \
{ \
return os << '(' << #Enum << ')' << static_cast<int>(v); \
} static_assert(true, "")
Definition at line 86 of file EnumUtilities.hpp.