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

Method Point

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

Source from the content-addressed store, hash-verified

192 int x;
193 int y;
194 Point(int a, int b) : x(a), y(b) {}
195 };
196 auto p = kstd::make_unique<Point>(3, 4);
197 EXPECT_EQ(p->x, 3);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected