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

Function main

tests/EduCfrontTest8.cpp:23–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21};
22
23int main()
24{
25 Apple f{2, 3};
26
27 alignas(Apple) char buffer[sizeof(Apple)]{}; // look here
28 Apple* b = new(buffer) Apple{4, 5};
29
30 printf("Created\n");
31 b->~Apple(); // look here
32
33 char data[5]{4, 5, 6};
34}

Callers

nothing calls this directly

Calls 1

~AppleMethod · 0.45

Tested by

no test coverage detected