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

Method str_value

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

Source from the content-addressed store, hash-verified

370 public:
371 using OverrideTest::OverrideTest;
372 std::string str_value() override {
373 PYBIND11_OVERRIDE(std::string, OverrideTest, str_value);
374 }
375 // Not allowed (enabling the below should hit a static_assert failure): we can't get a
376 // reference to a python numeric value, since we only copy values in the numeric type
377 // caster:

Callers

nothing calls this directly

Calls 1

PYBIND11_OVERRIDEFunction · 0.70

Tested by

no test coverage detected