| 750 | // from https://artificial-mind.net/blog/2020/10/31/constexpr-for |
| 751 | template <auto Start, auto End, auto Inc, class F> |
| 752 | constexpr void constexpr_for(F&& f) { |
| 753 | if constexpr (Start < End) { |
| 754 | f(std::integral_constant<decltype(Start), Start>()); |
| 755 | constexpr_for<Start + Inc, End, Inc>(f); |
| 756 | } |
| 757 | } |
| 758 | |
| 759 | template <typename E, E V> |
| 760 | struct Foo {}; |
nothing calls this directly
no outgoing calls
no test coverage detected