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

Add overloads for rfl::read/write for std::string_view to avoid constructing std::string #344

Open
leha-bot opened this issue Feb 6, 2025 · 1 comment

Comments

@leha-bot
Copy link

leha-bot commented Feb 6, 2025

No description provided.

@liuzicheng1987
Copy link
Contributor

@leha-bot , we already have something like that for JSON:

https://github.com/getml/reflect-cpp/blob/main/include/rfl/json/read.hpp

But we don't have it for any of the other textual formats (TOML, XML, YAML).

However, it would be very easy to do. If you want to do it, a PR is very welcome.

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

No branches or pull requests

2 participants