void print_row(const Seq& row) { set_output_precision(row[0]); for(unsigned i = 0; i < row.size(); ++i) { if(i) std::cout << ", "; std::cout << row[i]; } std::cout << std::endl; }
void print_row(const Seq& row, std::ostream& os = std::cout) { set_output_precision(row[0]); for(unsigned i = 0; i < row.size(); ++i) { if(i) os << ", "; os << row[i]; } os << std::endl; }