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

Function vector_buffer

include/pybind11/stl_bind.h:480–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478
479template <typename Vector, typename Class_, typename... Args>
480void vector_buffer(Class_ &cl) {
481 vector_buffer_impl<Vector, Class_, Args...>(
482 cl, detail::any_of<std::is_same<Args, buffer_protocol>...>{});
483}
484
485PYBIND11_NAMESPACE_END(detail)
486

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected