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

Method get_value

tests/test_virtual_functions.cpp:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 void operator=(const NonCopyable &) = delete;
107 void operator=(NonCopyable &&) = delete;
108 std::string get_value() const {
109 if (value) {
110 return std::to_string(*value);
111 }
112 return "(null)";
113 }
114 ~NonCopyable() { print_destroyed(this); }
115
116private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected