MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / ArrayObj

Class ArrayObj

tests/unit_test/sk_unique_ptr_test.cpp:241–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239// ── Array specialization tests ──────────────────────────────────────────────
240
241struct ArrayObj {
242 int value;
243 static int destroy_count;
244 ArrayObj() : value(0) {}
245 explicit ArrayObj(int v) : value(v) {}
246 ~ArrayObj() { ++destroy_count; }
247};
248int ArrayObj::destroy_count = 0;
249
250class UniquePtrArrayTest : public ::testing::Test {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected