MCPcopy Create free account
hub / github.com/pybind/pybind11 / dereference

Method dereference

include/pybind11/pytypes.h:1369–1369  ·  view source on GitHub ↗

NOLINTNEXTLINE(readability-const-return-type) // PR #3263

Source from the content-addressed store, hash-verified

1367
1368 // NOLINTNEXTLINE(readability-const-return-type) // PR #3263
1369 reference dereference() const { return {key, value}; }
1370 void increment() {
1371 if (PyDict_Next(obj.ptr(), &pos, &key, &value) == 0) {
1372 pos = -1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected