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

Method self5

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

return by pointer

Source from the content-addressed store, hash-verified

63 const ExampleMandA &self3() const { return *this; } // return by const reference
64 ExampleMandA *self4() { return this; } // return by pointer
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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected