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

Method static_get

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

Source from the content-addressed store, hash-verified

95 void set(int v) { value = v; }
96
97 static int static_get() { return static_value; }
98 static void static_set(int v) { static_value = v; }
99};
100int TestProperties::static_value = 1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected