Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

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

Open
jwillikers opened this issue Mar 10, 2020 · 1 comment

Comments

@jwillikers
Copy link
Contributor

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
Copy link
Owner

p-ranav commented Apr 19, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants