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

Method Abase

tests/test_class_sh_trampoline_basic.cpp:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 int val = 0;
10 virtual ~Abase() = default;
11 explicit Abase(int val_) : val{val_} {}
12 int Get() const { return val * 10 + 3; }
13 virtual int Add(int other_val) const = 0;
14

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected