MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / main

Function main

tests/PlacemenNewTest.cpp:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10int main()
11{
12 char buffer[sizeof(Apple<int>)];
13
14 auto* f = new (&buffer) Apple<int>;
15
16 auto& r = *f;
17
18 r.~Apple<int>();
19
20 f->~Apple<int>();
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected