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

Method internal1

tests/test_methods_and_attributes.cpp:67–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 const ExampleMandA *self5() const { return this; } // return by const pointer
66
67 int internal1() const { return value; } // return by value
68 int &internal2() { return value; } // return by reference
69 const int &internal3() const { return value; } // return by const reference
70 int *internal4() { return &value; } // return by pointer

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected