Hello there
I was wondering if embind supports stack allocated C++ objects (rather than
heap allocated)? This is for things like:
for (auto pair : keyMap->GetKeyValuePairs())
{
// Do something
}
where keyMap could be a custom collection implementation and
GetKeyValuePairs() would return a KeyValuePairIterator class. In C++, the
iterator class would usually be stack allocated. I'm wondering how we can
use embind to support collection iteration in JS.
Thanks!
-Arnab
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.