"Zig does not support RAII or operator overloading because both make it very difficult to tell where function calls happen just by looking at a function body."
"Zig's standard library is still very young, but the goal is for every feature that uses an allocator to accept an allocator at runtime, or possibly at either compile time or runtime."
>"Zig does not support RAII or operator overloading because both make it very difficult to tell where function calls happen just by looking at a function body."
How about showing an error if you don't call the deconstructor manually?
How about showing an error if you don't call the deconstructor manually?