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

Method add

tests/test_smart_ptr.cpp:322–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320
321struct ElementList {
322 void add(const std::shared_ptr<ElementBase> &e) { l.push_back(e); }
323 std::vector<std::shared_ptr<ElementBase>> l;
324};
325

Callers 1

test_shared_ptr_gcFunction · 0.95

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected