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
I tried to implement a custom allocator (example code below). The code compiles but failed at runtime. In the screenshot, it's clear that Self tmp = {0} didn't copy vec.aux field. Is this a bug or by design (if later, it'd be helpful to issue a warn/error at compile time).
I'm trying to implement custom i_aux following sample code in documentation e.g.
I noticed it uses
i_no_clone
.I tried to implement a custom allocator (example code below). The code compiles but failed at runtime. In the screenshot, it's clear that
Self tmp = {0}
didn't copy vec.aux field. Is this a bug or by design (if later, it'd be helpful to issue a warn/error at compile time).The text was updated successfully, but these errors were encountered: