Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ string
Method
string
12.19-constevalParmCheck1/main.cpp:14–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
class string {
13
public:
14
constexpr string() = default;
15
constexpr string(const char& c) { append(&c, 1); }
16
constexpr string(const string& s) { append(s.data(), s.size()); }
17
constexpr string& operator=(const string& s)
Callers
nothing calls this directly
Calls
2
data
Method · 0.80
size
Method · 0.80
Tested by
no test coverage detected