MCPcopy Create free account
hub / github.com/pybind/pybind11 / ~inline_array_or_vector

Function ~inline_array_or_vector

include/pybind11/detail/argument_vector.h:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 inline_array_or_vector() : iarray() {}
70
71 ~inline_array_or_vector() {
72 if (is_inline()) {
73 iarray.~inline_array();
74 } else {
75 hvector.~heap_vector();
76 }
77 }
78
79 // Disable copy ctor and assignment.
80 inline_array_or_vector(const inline_array_or_vector &) = delete;

Callers

nothing calls this directly

Calls 1

is_inlineFunction · 0.85

Tested by

no test coverage detected