Commit 3985d8f
committed
[Support] Use "if constexpr" in shouldReverseIterate
This patch simplifies shouldReverseIterate with "if constexpr" while
switching to "constexpr bool", allowing compile-time evaluation at
call sites.1 parent 9971844 commit 3985d8f
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
0 commit comments