mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
fix typo
This commit is contained in:
parent
c646c9d76d
commit
1db1f585f4
1 changed files with 1 additions and 1 deletions
|
|
@ -476,7 +476,7 @@ template <typename E, bool IsFlags = false, typename U = std::underlying_type_t<
|
|||
inline constexpr auto min_v = (count_v<E, IsFlags> > 0) ? static_cast<U>(values_v<E, IsFlags>.front()) : U{0};
|
||||
|
||||
template <typename E, bool IsFlags = false, typename U = std::underlying_type_t<E>>
|
||||
inline constexpr auto max_v = (count_v<E, IsFlags> >) 0 ? static_cast<U>(values_v<E, IsFlags>.back()) : U{0};
|
||||
inline constexpr auto max_v = (count_v<E, IsFlags> > 0) ? static_cast<U>(values_v<E, IsFlags>.back()) : U{0};
|
||||
|
||||
template <typename E, bool IsFlags, typename U = std::underlying_type_t<E>>
|
||||
constexpr std::size_t range_size() noexcept {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue