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

Function main

tests/PlacemenNew2Test.cpp:21–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21int main()
22{
23 char buffer[sizeof(Test::Apple<int>)];
24
25 auto f = new (&buffer) Test::Apple<int>;
26
27 f->Test::Apple<int>::~Apple<int>();
28 f->~Apple();
29
30 Test::destroy(f);
31
32 int x;
33 Test::destroy(&x);
34
35 Test::destroy(&West::y);
36}

Callers

nothing calls this directly

Calls 2

destroyFunction · 0.85
~AppleMethod · 0.45

Tested by

no test coverage detected