Embind: Documentation of sharing_policy used by smart_ptr_trait

11 views
Skip to first unread message

Stephan Bergmann

unread,
Mar 1, 2024, 11:24:32 AMMar 1
to emscripten-discuss
When specializing the Embind template <https://emscripten.org/docs/api_reference/bind.h.html#_CPPv415smart_ptr_trait> for a custom smart pointer type, I was wondering what `get_sharing_policy` should return, and didn't find any documentation of its three values `NONE´, `INTRUSIVE`, `BY_EMVAL`?
Reply all
Reply to author
Forward
0 new messages