#Init with an allocator and deinit with another.

1 messages · Page 1 of 1 (latest)

quasi dune
#

If it's even possible.
I'm learning how to manage memory and use what Zig allows.

Is there a use-case (or even the possiblity) to use one allocator on .init and another on .deinit?

simple olive
#

nope, the allocator implementations would have to be designed to be used interchangeably, none are, and im not sure why you would want that.