MCPcopy Create free account
hub / github.com/Neargye/nameof / SomeStruct

Class SomeStruct

example/example.cpp:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32struct Derived : Base {};
33
34struct SomeStruct {
35 int somefield = 0;
36
37 void SomeMethod1(int i) { somefield = i; }
38
39 int SomeMethod2() const { return somefield; }
40};
41
42void SomeMethod3() {
43 std::cout << NAMEOF(SomeMethod3) << " no called!" << std::endl;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected