aboutsummaryrefslogtreecommitdiff
path: root/include/cru
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-10-16 21:16:43 +0800
committerYuqian Yang <crupest@crupest.life>2025-10-16 21:16:43 +0800
commita8b83f7b483a516fb92e2e22b3f364d51b7eb273 (patch)
treecc869eaa751935e13b983c0bdd961e9c0be8f44f /include/cru
parent073a1e3e5af78fb0d220169009fd6a0939b432d2 (diff)
downloadcru-a8b83f7b483a516fb92e2e22b3f364d51b7eb273.tar.gz
cru-a8b83f7b483a516fb92e2e22b3f364d51b7eb273.tar.bz2
cru-a8b83f7b483a516fb92e2e22b3f364d51b7eb273.zip
Resort input method demo.
Diffstat (limited to 'include/cru')
-rw-r--r--include/cru/base/Range.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/cru/base/Range.h b/include/cru/base/Range.h
index edc2ec55..44c5aca0 100644
--- a/include/cru/base/Range.h
+++ b/include/cru/base/Range.h
@@ -7,10 +7,6 @@ struct Range final {
return Range(start, end - start);
}
- constexpr static Range FromTwoSides(Index start, Index end, Index offset) {
- return Range(start + offset, end - start);
- }
-
constexpr Range() = default;
constexpr Range(const Index position, const Index count = 0)
: position(position), count(count) {}