project( 'magic_enum', ['cpp'], default_options: ['cpp_std=c++17'], version: '0.9.6', ) magic_enum_include = include_directories('include') magic_enum_args = [] if get_option('hash') magic_enum_args += '-DMAGIC_ENUM_ENABLE_HASH' endif magic_enum_dep = declare_dependency( in...
set_homepage("https://github.com/Neargye/magic_enum") set_description("Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code") set_license("MIT") add_urls("https://github.com/Neargye/magic_enum/ar...
https://github.com/Neargye/magic_enum.git 或 https://github.com/Neargye/magic_enum.git magic_enum为header only的库无需编译 如果需要查看工程中的examples时,需要使用cmake进行编译,关于这部分的资料已经很多了,在此不再赘述。 使用示例 代码语言:javascript 代码运行次数:0 复制 Cloud Studio代码运行 #in...
简介:开源项目推荐: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++ 的枚举(到字符串、从字符串、迭代)的静态反射,适用于任何枚举类型,无需任何宏或样板代码...
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....
I thought versions ranges were exclusive not inclusive. Just to double check these conflicts with another reviewer these should match up with the following minimum support compiler versions. Clang...
3Branches23Tags Code Folders and files Name Last commit message Last commit date Latest commit tkhyn fix: useinlineinstead ofstaticfor constexpr in header file (#401 Feb 20, 2025 a413fcc·Feb 20, 2025 History 580 Commits .github Bump the github-actions group across 1 directory with 2 updat...
CPMAddPackage( NAME magic_enum GITHUB_REPOSITORY Neargye/magic_enum GIT_TAG x.y.z # Where `x.y.z` is the release version you want to use. ) Bazel is also supported, simply add to your WORKSPACE file: http_archive( name = "magic_enum", strip_prefix = "magic_enum-<commit>", urls...
CPMAddPackage( NAME magic_enum GITHUB_REPOSITORY Neargye/magic_enum GIT_TAG x.y.z # Where `x.y.z` is the release version you want to use. ) Bazel is also supported, simply add to your WORKSPACE file: http_archive( name = "magic_enum", strip_prefix = "magic_enum-<commit>", urls...
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 ...