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

Method sig

include/pybind11/pybind11.h:274–274  ·  view source on GitHub ↗

We have to repeat PYBIND11_READABLE_FUNCTION_SIGNATURE_EXPR in decltype() because C++11 doesn't allow functions to return `auto`. (We don't know the type because it's some variant of detail::descr with unknown N.)

Source from the content-addressed store, hash-verified

272 // know the type because it's some variant of detail::descr<N> with
273 // unknown N.)
274 static constexpr sig_type sig() { return PYBIND11_READABLE_FUNCTION_SIGNATURE_EXPR; }
275
276public:
277 static constexpr sig_type kSig = sig();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected