| 54 | |
| 55 | template <typename E, enum_subtype S, typename F,std::size_t... I> |
| 56 | constexpr bool all_invocable(std::index_sequence<I...>) { |
| 57 | if constexpr (count_v<E, S> == 0) { |
| 58 | return false; |
| 59 | } else { |
| 60 | return (std::is_invocable_v<F, enum_constant<values_v<E, S>[I]>> && ...); |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | } // namespace magic_enum::detail |
| 65 |
nothing calls this directly
no outgoing calls
no test coverage detected