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

Method operator*

tests/coroutines/source/array_proxy_lifetime.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 value_type operator*() const {
61 size_t size = a.mpParent.children.size();
62 if (index >= 0 && index < size) {
63 return a.mpParent.children[index];
64 }
65 return std::weak_ptr<A>();
66 }
67
68 // Operators : arithmetic
69 inline iterator& operator++() {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected