| 50 | // for_constexpr {{{1 |
| 51 | template <typename T, T Begin, T End, T Stride = 1, typename F> |
| 52 | void for_constexpr(F&& fun) |
| 53 | { |
| 54 | if constexpr (Begin <= End) { |
| 55 | fun(std::integral_constant<T, Begin>()); |
| 56 | if constexpr (Begin < End) { |
| 57 | for_constexpr<T, Begin + Stride, End, Stride>(std::forward<F>(fun)); |
| 58 | } |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | TEST_TYPES(V, operators, all_test_types) //{{{1 |
| 63 | { |
nothing calls this directly
no outgoing calls
no test coverage detected