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

Method operator[]

include/sol/stack_iterator.hpp:111–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 reference operator[](difference_type idx) const {
112 return proxy_t(L, index + static_cast<int>(idx));
113 }
114
115 bool operator==(const stack_iterator& r) const {
116 if (stacktop == (std::numeric_limits<int>::max)()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected