cfs/src/perfutil/Util.cc
/**
 * Take a file containing comma-separated ranges of integers and return an
 * std::vector containing the numbers in each range.
 */
Take a file containing comma-separated ranges of integers and return an
std::vector containing the numbers in each range.
Take a file containing comma - separated ranges of integers and return an std :: vector containing the numbers in each range .
std::vector<int>
readRanges(FILE* f) {
  char* buf = fileGetContents(f);
  std::vector<int> numbers = parseRanges(buf);
  delete[] buf;
  return numbers;
}
std :: vector < int > readRanges ( FILE * f ) { char * buf = fileGetContents ( f ) ; std :: vector < int > numbers = parseRanges ( buf ) ; delete [ ] buf ; return numbers ; }
Take a file containing comma-separated ranges of integers and return an
 std::vector containing the numbers in each range.
Take a file containing comma - separated ranges of integers and return an std :: vector containing the numbers in each range .