You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mixin allocators are allowed, but all others, the ones that are std::pmr::polymorphic_allocator in C++, are not. C code uses the default allocation for all of them.
Moreover since objects and mutations are fully wrapped to expose to C, every instance of an object or an allocation leads to new/delete.
The question is: can we solve one or both of these problems by allowing allocator customization from C?
The text was updated successfully, but these errors were encountered:
Mixin allocators are allowed, but all others, the ones that are
std::pmr::polymorphic_allocator
in C++, are not. C code uses the default allocation for all of them.Moreover since objects and mutations are fully wrapped to expose to C, every instance of an object or an allocation leads to
new
/delete
.The question is: can we solve one or both of these problems by allowing allocator customization from C?
The text was updated successfully, but these errors were encountered: