Fork479 Star5.4k master BranchesTags Code Folders and files Name Last commit message Last commit date Latest commit Cannot retrieve latest commit at this time. History 580 Commits .github cmake/GenPkgConfig doc example include/magic_enum
.github cmake doc example include module test .bazelignore .bazelrc .bazelversion .cmake-format .dockerignore .gitignore BUILD.bazel CMakeLists.txt Dockerfile LICENSE MODULE.bazel README.md SECURITY.md WORKSPACE.bazel meson.build meson_options.txt package.xml test_installed_version.bashBreadcrumbs ...
源码下载地址: https://github.com/Neargye/magic_enum.git 或 https://github.com/Neargye/magic_enum.git magic_enum为header only的库无需编译 如果需要查看工程中的examples时,需要使用cmake进行编译,关于这部分的资料已经很多了,在此不再赘述。 使用示例 代码语言:javascript 代码运行次数:0 运行 AI代码解释...
ホームページ[github.com] 以下のバイナリパッケージがこのソースパッケージからビルドされています。 libmagicenum-dev C++ library providing static reflection for enums 構築依存 構築依存 (アーキテクチャ非依存) debhelper-compat (= 13) ...
简介:开源项目推荐:C++枚举转字符串,magic_enum Belay the C++ | A weekly blog talking about (usually bad) practices in C++ Best ways to convert an enum to a string | Belay the C++ 现代C++ 的枚举(到字符串、从字符串、迭代)的静态反射,适用于任何枚举类型,无需任何宏或样板代码...
It should generally not be necessary for users to contact the original maintainer. External Resources: Kotisivu[github.com] Seuraavat binääripaketit on käännetty tästä lähdepaketista: libmagicenum-dev C++ library providing static reflection for enums ...
release repository: https://github.com/nobleo/magic_enum-release.git rosdistro version: 0.9.3-1 old version: 0.9.4-1 new version: 0.9.5-1 Versions of tools used: bloom version: 0.11.2 catkin_pkg version: 1.0.0 rosdep version: 0.22.2 rosdistro version: 0.9.0 vcstools version: 0.1....
[breaking changes] Need to use #include <magic_enum/magic_enum.hpp> instead of #include <magic_enum.hpp> Fix installing via CMake (#374) Fix install headers and pkg-config file via Meson (#383) Fix bitset constructor (#367) Fix parameterize formatter::format (#365) Fix enum_fuse shift...
xmake.lua packages/m/magic_enum/xmake.lua +21-39 Original file line numberDiff line numberDiff line change @@ -1,12 +1,12 @@ 11 package("magic_enum") 22 set_kind("library", {headeronly=true}) 3- 43 set_homepage("https://github.com/Neargye/magic_enum") ...
enum class Color : { RED = -10, BLUE = 0, GREEN = 10 }; int main() { Color c1 = Color::RED; std::cout << magic_enum::enum_name(c1) << std::endl; // RED return 0; } ``` * Enum value to string ```cpp Color color = Color::RED; auto color_name = magic_enum::en...