emscripten-core / emscripten-core/emscripten
STL container support in embind!
Open
embind
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Why doesn't emsdk natively support STL containers? Why do users still need to manually register them, like register_vector("vector");?
Both pybind11 (Python) and sol2 (Lua) provide perfect support for STL containers.
Wouldn't it be possible to automatically register containers like vector by detecting parameter or return types during function registration?
Contributor guide
Assessment
This issue has not been assessed yet.