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

Function PYBIND11_OVERRIDE_PURE

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

Source from the content-addressed store, hash-verified

481public:
482 using A_Repeat::A_Repeat;
483 int unlucky_number() override { PYBIND11_OVERRIDE_PURE(int, A_Repeat, unlucky_number, ); }
484 std::string say_something(unsigned times) override {
485 PYBIND11_OVERRIDE(std::string, A_Repeat, say_something, times);
486 }
487};
488class PyB_Repeat : public B_Repeat {
489public:

Callers 2

get_movableMethod · 0.70
dispatchMethod · 0.70

Calls 1

PYBIND11_OVERRIDEFunction · 0.70

Tested by

no test coverage detected