Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NatLabRockies/OpenStudio
/ toString
Function
toString
src/utilities/core/String.cpp:21–23 ·
view source on GitHub ↗
char* to std::string. */
Source
from the content-addressed store, hash-verified
19
20
/** char* to std::string. */
21
std::string toString(const char* s) {
22
return {s};
23
}
24
25
/** string to std::string. */
26
std::string toString(const std::string& s) {
Callers
nothing calls this directly
Calls
7
resize
Method · 0.80
begin
Method · 0.80
str
Method · 0.45
read
Method · 0.45
size
Method · 0.45
data
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected