Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/design-patterns-in-modern-cpp
/ ~Logger
Method
~Logger
Structural/NullObject/nullobject.cpp:10–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
struct Logger
9
{
10
virtual ~Logger() = default;
11
virtual void info(const string& s) = 0;
12
virtual void warn(const string& s) = 0;
13
};
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected