#include <string_view>
#include <algorithm>
#include <type_traits>
#include <fmt/core.h>
#include <array>
template <typename T>
struct Enum {
T val;
std::string_view name;
static constexpr std::string_view default_name =
C++备忘录092:简单的enum到string的方法?
最新推荐文章于 2024-03-12 00:07:50 发布