1234567891011121314const std = @import("std"); pub fn Owned(comptime T: type) type { return struct { value: T, arena: std.heap.ArenaAllocator, pub fn deinit(self: *@This()) void { self.arena.deinit(); self.* = undefined; } };}