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

Class Apple

tests/EduCfrontTest.cpp:3–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// cmdlineinsights:-edu-show-cfront
2
3class Apple
4{
5public:
6 Apple(){};
7
8 Apple(int x)
9 : mX{x}
10 {
11 }
12
13 ~Apple() { mX = 5; }
14
15 Apple(const Apple&) {}
16
17 void Set(int x) { mX = x; }
18 int Get() const { return mX; }
19
20private:
21 int mX{};
22};
23
24class Other
25{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected