Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ connect
Method
connect
Exercises/NoModules/Chapter 16/Soln16_06/DB.cpp:22–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
21
bool hasConnection() const { return m_connected; }
22
void connect() { m_connected = true; }
23
void disconnect() { m_connected = false; }
24
25
QueryResult* query(const char* query);
Callers
1
db_connect
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected