srs-control
0.2.2
Toggle main menu visibility
Loading...
Searching...
No Matches
GlazeCustom.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <glaze/core/meta.hpp>
4
#include <magic_enum/magic_enum.hpp>
5
6
namespace
glz
7
{
8
template
<
typename
T>
9
requires
std::is_enum_v<T>
10
struct
meta<T>
11
{
12
static
constexpr
auto
keys
= magic_enum::enum_names<T>();
13
static
constexpr
auto
value
= magic_enum::enum_values<T>();
14
};
15
}
// namespace glz
glz
Definition
GlazeCustom.hpp:7
glz::meta< T >::value
static constexpr auto value
Definition
GlazeCustom.hpp:13
glz::meta< T >::keys
static constexpr auto keys
Definition
GlazeCustom.hpp:12
backend
srs
utils
GlazeCustom.hpp
Impressum
Datenschutzerklärung
Generated by
1.17.0