MCPcopy Create free account
hub / github.com/FastLED/FastLED / operator-

Method operator-

src/fl/stl/basic_string.h:84–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83 iterator operator+(difference_type n) const FL_NOEXCEPT { return iterator(ptr + n); }
84 iterator operator-(difference_type n) const FL_NOEXCEPT { return iterator(ptr - n); }
85 iterator& operator+=(difference_type n) FL_NOEXCEPT { ptr += n; return *this; }
86 iterator& operator-=(difference_type n) FL_NOEXCEPT { ptr -= n; return *this; }
87 difference_type operator-(const iterator& other) const FL_NOEXCEPT { return ptr - other.ptr; }

Callers

nothing calls this directly

Calls 1

iteratorClass · 0.70

Tested by

no test coverage detected