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

Method get

tests/test_cross_module_rtti/lib.cpp:7–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5Base::Base(int a, int b) : a(a), b(b) {}
6
7int Base::get() const { return a + b; }
8
9Foo::Foo(int a, int b) : Base{a, b} {}
10

Callers 15

test_reference_internalFunction · 0.45
DataFieldMethod · 0.45
is_disownedFunction · 0.45
test_overloadedFunction · 0.45
get_buffer_infoMethod · 0.45
assert_keeps_aliveFunction · 0.45
test_eigen_keepaliveFunction · 0.45
diamond_addrsFunction · 0.45
TEST_SUBMODULEFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_reference_internalFunction · 0.36
DataFieldMethod · 0.36
is_disownedFunction · 0.36
test_overloadedFunction · 0.36
get_buffer_infoMethod · 0.36
assert_keeps_aliveFunction · 0.36
test_eigen_keepaliveFunction · 0.36
diamond_addrsFunction · 0.36
TEST_SUBMODULEFunction · 0.36