1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00
This commit is contained in:
neargye 2024-09-22 19:59:40 +03:00
parent a560110ead
commit 126539e13c

View file

@ -321,13 +321,10 @@ constexpr bool enum_contains(string_view value, BinaryPredicate p) noexcept(is_n
```cpp ```cpp
template <typename E> template <typename E>
constexpr bool enum_contains(E value) noexcept; constexpr bool enum_reflected(E value) noexcept;
template <typename E> template <typename E>
constexpr bool enum_contains(underlying_type_t<E> value) noexcept; constexpr bool enum_reflected(underlying_type_t<E> value) noexcept;
template <typename E>
constexpr bool enum_contains(string_view value) noexcept;
``` ```
* Returns true if the enum value is in the range of values that can be reflected. * Returns true if the enum value is in the range of values that can be reflected.