Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ Database
Method
Database
Exercises/NoModules/Chapter 16/Soln16_06/DB.cpp:19–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
{
18
public:
19
Database() = default;
20
21
bool hasConnection() const { return m_connected; }
22
void connect() { m_connected = true; }
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected