You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use std::string_view extensively in my code, because it allows to make substrings very cheaply (requires only adjusting a couple of pointers instead of copying the string), but pugixml accepts only const char* arguments, which forces me to make local copies of strings.
It would nice to have either a std::string_view overload, or const char*, size_t overload.
The text was updated successfully, but these errors were encountered:
I use
std::string_view
extensively in my code, because it allows to make substrings very cheaply (requires only adjusting a couple of pointers instead of copying the string), but pugixml accepts onlyconst char*
arguments, which forces me to make local copies of strings.It would nice to have either a
std::string_view
overload, orconst char*, size_t
overload.The text was updated successfully, but these errors were encountered: