MCPcopy Create free account
hub / github.com/Apress/design-patterns-in-modern-cpp / main

Function main

Behavioral/NullObject/null_object.cpp:33–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31};
32
33int main()
34{
35 struct NullLog : Log
36 {
37 void LogInfo(const string& message) const override
38 {
39 }
40 };
41
42 PaymentProcessing<NullLog> pp;
43
44 getchar();
45 return 0;
46}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected