p-ranav / csv

[DEPRECATED] See https://github.com/p-ranav/csv2
MIT License
234 stars 32 forks source link

Overload write for void write_row(unordered_flat_map<std::string_view, std::string> row_map) #18

Open jwillikers opened 4 years ago

jwillikers commented 4 years ago

Is it possible to make it simpler to read data and then write that same data?

The read function reads in rows as unordered_flat_map<std::string_view, std::string>, but the write function expects unordered_flat_map<std::string, std::string>. This appears to require manual conversion between the types, making something like converting a CSV file to a TSV file more difficult than I had hoped.

p-ranav commented 4 years ago

Hello,

I'm working on a second implementation of this library: https://github.com/p-ranav/csv2. The reader is ready for use. Check it out. Hopefully it works better. I'm planning to archive this repo in favor of csv2.

Sorry again for all the issues you've faced with this library.