ben-strasser / fast-cpp-csv-parser

fast-cpp-csv-parser
BSD 3-Clause "New" or "Revised" License
2.09k stars 435 forks source link

Indexing read_row #124

Closed theochit closed 2 years ago

theochit commented 2 years ago

Is there a way to access the results of read_row by index? Ie,

while (in.read_row(one, two, three)){
    for(int i = 0; i < 3; i++){
      final = read_row_results[i];
    }
}
ben-strasser commented 2 years ago

No, there is not. This is by design because

a,b
1,2

and

b,a
2,1

should parse in the same way.