MCPcopy Create free account
hub / github.com/d99kris/rapidcsv / ToStruct

Function ToStruct

tests/test063.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17};
18
19void ToStruct(const std::string& pStr, Struct& pVal)
20{
21 pVal.val = static_cast<int>(roundf(100.0f * std::stof(pStr)));
22}
23
24int main()
25{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected