diff --git a/src/protocol/RangeArg.hxx b/src/protocol/RangeArg.hxx index ab00dc990..246210b83 100644 --- a/src/protocol/RangeArg.hxx +++ b/src/protocol/RangeArg.hxx @@ -44,6 +44,10 @@ struct RangeArg { return !(*this == other); } + constexpr bool IsOpenEnded() const noexcept { + return end == All().end; + } + constexpr bool IsAll() const noexcept { return *this == All(); }