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

Method str_ref_helper

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

Source from the content-addressed store, hash-verified

384 private:
385 std::string _tmp;
386 std::string str_ref_helper() { PYBIND11_OVERRIDE(std::string, OverrideTest, str_ref); }
387
388 public:
389 std::string &str_ref() override { return _tmp = str_ref_helper(); }

Callers

nothing calls this directly

Calls 1

PYBIND11_OVERRIDEFunction · 0.70

Tested by

no test coverage detected