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

Method NoDefaultCtorArray

tests/test_stl.cpp:212–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210
211 struct NoDefaultCtorArray {
212 explicit constexpr NoDefaultCtorArray(int i)
213 : arr{{NoDefaultCtor(10 + i), NoDefaultCtor(20 + i)}} {}
214 std::array<NoDefaultCtor, 2> arr;
215 };
216

Callers 1

Calls 1

NoDefaultCtorClass · 0.85

Tested by

no test coverage detected