MCPcopy Create free account
hub / github.com/pybind/pybind11 / operator*

Method operator*

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

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

Source from the content-addressed store, hash-verified

1247
1248 // NOLINTNEXTLINE(readability-const-return-type) // PR #3263
1249 reference operator*() const { return Policy::dereference(); }
1250 // NOLINTNEXTLINE(readability-const-return-type) // PR #3263
1251 reference operator[](difference_type n) const { return *(*this + n); }
1252 pointer operator->() const { return **this; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected