Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChaiScript/ChaiScript
/ setValue
Method
setValue
samples/inheritance.cpp:17–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
16
17
void setValue(const std::string &t_val) {
18
if (validateValue(t_val))
19
{
20
m_value = t_val;
21
}
22
}
23
24
std::string getValue() const {
25
return m_value;
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected