emscripten-core / emscripten-core/emscripten
std::string_view initialization support in val.h
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Currently `val` class has a few constructors for different basic types. It would be nice to have `std::string_view` type constructor too. The only difference with `const char*` is that `std::string_view` is not necessarily null-terminated, instead, it holds the length information.
I guess it's a very low priority feature request. But is this something acceptable if someone implements and opens a PR?
Contributor guide
Assessment
This issue has not been assessed yet.