| 1170 | // from https://artificial-mind.net/blog/2020/10/31/constexpr-for |
| 1171 | template <auto Start, auto End, auto Inc, class F> |
| 1172 | constexpr void constexpr_for(F&& f) { |
| 1173 | if constexpr (Start < End) { |
| 1174 | f(std::integral_constant<decltype(Start), Start>()); |
| 1175 | constexpr_for<Start + Inc, End, Inc>(f); |
| 1176 | } |
| 1177 | } |
| 1178 | |
| 1179 | template <typename E, E V> |
| 1180 | struct Foo {}; |
nothing calls this directly
no outgoing calls
no test coverage detected