Searched refs:diff_type (Results 1 – 2 of 2) sorted by relevance
545 using diff_type = typename traits::difference_type; member552 inline friend iter operator+(diff_type n, const iter &it) { return it.mPtr + n; }553 inline iter operator+(diff_type n) const { return mPtr + n; }554 inline iter operator-(diff_type n) const { return mPtr - n; }555 inline diff_type operator-(const iter &other) const { return mPtr - other.mPtr; }556 inline iter &operator+=(diff_type n) { mPtr += n; return *this; }557 inline iter &operator-=(diff_type n) { mPtr -= n; return *this; }
45 using diff_type = typename traits::difference_type; member