MCPcopy Create free account
hub / github.com/Singular/Singular / readIntList

Function readIntList

gfanlib/gfanlib_polymakefile.cpp:51–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51static list<int> readIntList(istream &s)
52{
53 list<int> ret;
54 int c=s.peek();
55 while(((c>='0') && (c<='9'))|| (c==' '))
56 {
57 // fprintf(Stderr,"?\n");
58 int r;
59 s >> r;
60 ret.push_back(r);
61 c=s.peek();
62 }
63 return ret;
64}
65
66namespace gfan{
67PolymakeProperty::PolymakeProperty(const std::string &name_, const std::string &value_):

Callers 2

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected