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

Method operator+

include/sol/stack_iterator.hpp:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 stack_iterator operator+(difference_type idx) const {
106 stack_iterator r = *this;
107 r += idx;
108 return r;
109 }
110
111 reference operator[](difference_type idx) const {
112 return proxy_t(L, index + static_cast<int>(idx));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected