#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的方法?
最新推荐文章于 2025-05-15 14:22:07 发布