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

Method dispatch

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

Source from the content-addressed store, hash-verified

162
163struct DispatchIssue : Base {
164 std::string dispatch() const override {
165 PYBIND11_OVERRIDE_PURE(std::string, Base, dispatch, /* no arguments */);
166 }
167};
168
169// An abstract adder class that uses visitor pattern to add two data

Callers 1

TEST_SUBMODULEFunction · 0.45

Calls 1

PYBIND11_OVERRIDE_PUREFunction · 0.70

Tested by

no test coverage detected