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

Method custom_deleter_nd

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

Source from the content-addressed store, hash-verified

59/// Custom deleter that is not default constructible.
60struct custom_deleter_nd : custom_deleter {
61 custom_deleter_nd() = delete;
62 explicit custom_deleter_nd(const std::string &trace_txt_) : custom_deleter(trace_txt_) {}
63};
64static_assert(!std::is_default_constructible<custom_deleter_nd>::value, "");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected