1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-10 23:44:29 +00:00
This commit is contained in:
Daniil Goncharov 2022-03-28 18:55:25 +04:00 committed by GitHub
parent 64bedded2a
commit cee99df7b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 11 deletions

View file

@ -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.