cfs/src/perfutil/Util.cc
/**
 * Take the name of a file containing comma-separated ranges of integers and
 * return an std::vector containing the numbers in each range.
 */
Take the name of a file containing comma-separated ranges of integers and
return an std::vector containing the numbers in each range.
Take the name of a file containing comma - separated ranges of integers and return an std :: vector containing the numbers in each range .
std::vector<int>
readRanges(const char* filename) {
  FILE* f = fopen(filename, "r");
  std::vector<int> numbers = readRanges(f);
  fclose(f);
  return numbers;
}
std :: vector < int > readRanges ( const char * filename ) { FILE * f = fopen ( filename , " " ) ; std :: vector < int > numbers = readRanges ( f ) ; fclose ( f ) ; return numbers ; }
Take the name of a file containing comma-separated ranges of integers and
 return an std::vector containing the numbers in each range.
Take the name of a file containing comma - separated ranges of integers and return an std :: vector containing the numbers in each range .