Function blackbird::split_string_to_ints

Function Documentation

std::vector<int> blackbird::split_string_to_ints(std::string string_list)

Split a string of the form “0, 6, 2, 1” into a list of integers

Return
returns a vector containing the integers
Parameters
  • string_list: string containing comma-separated integers