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

Method operator()

tests/pure_cpp/smart_holder_poc_test.cpp:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29template <typename T>
30struct functor_builtin_delete {
31 void operator()(T *ptr) { delete ptr; }
32#if (defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) \
33 || (defined(__clang_major__) && __clang_major__ == 3 && __clang_minor__ == 6)
34 // Workaround for these errors:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected