Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

will it support c++11 sometime later? #14

Closed
7starsea opened this issue Feb 26, 2019 · 6 comments
Closed

will it support c++11 sometime later? #14

7starsea opened this issue Feb 26, 2019 · 6 comments

Comments

@7starsea
Copy link

I am wondering that will csv-parser support c++11 some time later?

Thanks.

@vincentlaucsb
Copy link
Owner

Maybe. The main C++17 feature this library uses is std::string_view to prevent copying a lot of strings around. If somebody could find a good C++11 string_view implementation then I could probably make this library C++11 compatible.

@7starsea
Copy link
Author

I know fmt (https://github.com/fmtlib/fmt) lib provide a string_view implementation called fmt::basic_string_view.
see also http://fmtlib.net/latest/api.html#_CPPv2N3fmt11string_viewE.
I hope it helps.

@7starsea
Copy link
Author

here is another one:
https://github.com/bitwizeshift/string_view-standalone

@Kvaz1r
Copy link

Kvaz1r commented Mar 24, 2019

There is also this one - string-view-lite

@vincentlaucsb
Copy link
Owner

#19 should do the trick. Let me know if there's any issues.

@vincentlaucsb
Copy link
Owner

@Kvaz1r Thanks for the recommendation. It worked out perfectly!

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

No branches or pull requests

3 participants