MCPcopy 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. */
21std::string toString(const char* s) {
22 return {s};
23}
24
25/** string to std::string. */
26std::string toString(const std::string& s) {

Callers

nothing calls this directly

Calls 7

resizeMethod · 0.80
beginMethod · 0.80
strMethod · 0.45
readMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected