summaryrefslogtreecommitdiff
path: root/src/KingSystem/ksysDebugInput.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-06-22 18:27:45 +0200
committerLéo Lam <leo@leolam.fr>2022-06-22 20:23:08 +0200
commit03410f3eb34b677575b0fd6241b4101af92435f2 (patch)
tree780cf2746c8f245f1e9d54c145de8dcf37fe4279 /src/KingSystem/ksysDebugInput.cpp
parentc423a56a63b345c9d272b1f256422eebffee09c4 (diff)
ksys/util: Add range() and indexIter() for convenience
- range() is similar to Python's range() - indexIter() can be used to simplify `for (int i = 0, n = c.size(); i < n; ++i)` index-based loops
Diffstat (limited to 'src/KingSystem/ksysDebugInput.cpp')
0 files changed, 0 insertions, 0 deletions