emscripten-core / emscripten-core/emscripten

STL container support in embind!

Open
#23,628 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.