MCPcopy Create free account
hub / github.com/pybind/pybind11 / operator()

Method operator()

tests/test_class_sh_basic.cpp:54–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 void operator()(atyp *p) const { std::default_delete<atyp>()(p); }
55 void operator()(const atyp *p) const { std::default_delete<const atyp>()(p); }
56};
57static_assert(std::is_default_constructible<custom_deleter>::value, "");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected