Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/design-patterns-in-modern-cpp
/ LogInfo
Method
LogInfo
Behavioral/NullObject/null_object.cpp:37–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
struct NullLog : Log
36
{
37
void LogInfo(const string& message) const override
38
{
39
}
40
};
41
42
PaymentProcessing<NullLog> pp;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected