MCPcopy Create free account
hub / github.com/ThePhD/sol2 / operator-

Method operator-

include/sol/stack_iterator.hpp:101–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 difference_type operator-(const stack_iterator& r) const {
102 return index - r.index;
103 }
104
105 stack_iterator operator+(difference_type idx) const {
106 stack_iterator r = *this;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected