ben-strasser / fast-cpp-csv-parser

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

What about ignoring extra columns if less specified at construction? #113

Open ardabro opened 3 years ago

ardabro commented 3 years ago

Sometimes I don't want to decode all columns, some csv files have separator after last column. This forces user to specify, parse and assign unnecessary data. What about allowing to skip them? Moreover: What about specifying column range when constructing instance?
io::CSVReader<3,7,... // read columns from 3 to 7 (inclusive or exclusive)