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

Method toString

tests/test_smart_ptr.cpp:116–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 MyObject3(const MyObject3 &) = default;
115 explicit MyObject3(int value) : value(value) { print_created(this, toString()); }
116 std::string toString() const { return "MyObject3[" + std::to_string(value) + "]"; }
117 virtual ~MyObject3() { print_destroyed(this); }
118
119private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected