mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
fix bool (#172)
This commit is contained in:
parent
64bedded2a
commit
cee99df7b5
3 changed files with 53 additions and 11 deletions
|
|
@ -170,6 +170,9 @@ constexpr size_t enum_count() noexcept;
|
|||
```cpp
|
||||
template <typename E>
|
||||
constexpr underlying_type_t<E> enum_integer(E value) noexcept;
|
||||
|
||||
template <typename E>
|
||||
constexpr underlying_type_t<E> enum_underlying(E value) noexcept;
|
||||
```
|
||||
|
||||
* Returns integer value from enum value.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue