mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
v0.6.1
This commit is contained in:
parent
26dcd30d9a
commit
8eb87a9a88
4 changed files with 6 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.8)
|
||||
|
||||
project(magic_enum VERSION "0.6.0" LANGUAGES CXX)
|
||||
project(magic_enum VERSION "0.6.1" LANGUAGES CXX)
|
||||
|
||||
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
|
||||
set(IS_TOPLEVEL_PROJECT TRUE)
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
[](https://travis-ci.org/Neargye/magic_enum)
|
||||
[](https://ci.appveyor.com/project/Neargye/magic-enum-hf8vk/branch/master)
|
||||
[](https://www.codacy.com/app/Neargye/magic_enum?utm_source=github.com&utm_medium=referral&utm_content=Neargye/magic_enum&utm_campaign=Badge_Grade)
|
||||
[](https://wandbox.org/permlink/KaXmRxSliytXn0JO)
|
||||
[](https://godbolt.org/z/lX6L-B)
|
||||
[](https://wandbox.org/permlink/Dmo4ZoWXT1gHHM03)
|
||||
[](https://godbolt.org/z/ZbMCZS)
|
||||
|
||||
# Magic Enum C++
|
||||
|
||||
|
|
@ -165,6 +165,7 @@ enum Color { RED = 2, BLUE = 4, GREEN = 8 };
|
|||
```
|
||||
|
||||
* Static storage enum variable to string
|
||||
This version is much lighter on the compile times and is not restricted to the enum_range [limitation](doc/limitations.md).
|
||||
```cpp
|
||||
constexpr Color color = Color::BLUE;
|
||||
constexpr auto color_name = magic_enum::enum_name<color>();
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ from conans.errors import ConanInvalidConfiguration
|
|||
|
||||
class MagicEnumConan(ConanFile):
|
||||
name = "magic_enum"
|
||||
version = "0.6.0"
|
||||
version = "0.6.1"
|
||||
description = "Header-only C++17 library provides static reflection for enums, work with any enum type without any macro or boilerplate code."
|
||||
topics = (
|
||||
"conan",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
// | | | | (_| | (_| | | (__ | |____| | | | |_| | | | | | | | |____|_| |_|
|
||||
// |_| |_|\__,_|\__, |_|\___| |______|_| |_|\__,_|_| |_| |_| \_____|
|
||||
// __/ | https://github.com/Neargye/magic_enum
|
||||
// |___/ vesion 0.6.0
|
||||
// |___/ vesion 0.6.1
|
||||
//
|
||||
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue