MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / StringsToInts

Function StringsToInts

Tools/ezOptionParser.h:232–236  ·  view source on GitHub ↗

################################################################### */

Source from the content-addressed store, hash-verified

230};
231/* ################################################################### */
232static void StringsToInts(std::vector<std::string> & strings, std::vector<int> & out) {
233 for(int i=0; i < (long int)strings.size(); ++i) {
234 out.push_back(atoi(strings[i].c_str()));
235 }
236};
237/* ################################################################### */
238static void StringsToInts(std::vector<std::string*> * strings, std::vector<int> * out) {
239 for(int i=0; i < (long int)strings->size(); ++i) {

Callers 2

getIntsMethod · 0.85
getMultiIntsMethod · 0.85

Calls 2

sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected