NumRec Fixes

This commit is contained in:
IlyaShurupov 2023-10-25 20:41:48 +03:00
parent 0542b7ba2e
commit 826713c212
5 changed files with 181 additions and 148 deletions

View file

@ -111,7 +111,7 @@ namespace tp {
mBegin(pStartIndex),
mEnd(pEndIndex) {}
bool valid() { return mBegin < mEnd; }
bool valid() const { return mBegin < mEnd; }
tType idxBegin() const { return mBegin; }
@ -119,8 +119,8 @@ namespace tp {
tType idxDiff() const { return mEnd - mBegin; }
Iterator begin() { return Iterator(mBegin); }
Iterator begin() const { return Iterator(mBegin); }
Iterator end() { return Iterator(mEnd); }
Iterator end() const { return Iterator(mEnd); }
};
}