pub fn putNoClobber(self: *Self, allocator: Allocator, key: K, value: V) Allocator.Error!void
Insert an entry in the map. Assumes it is not already present.
self: *Self
allocator: Allocator
key: K
value: V
839 840 841 842 843
pub fn putNoClobber(self: *Self, allocator: Allocator, key: K, value: V) Allocator.Error!void { if (@sizeOf(Context) != 0) @compileError("Cannot infer context " ++ @typeName(Context) ++ ", call putNoClobberContext instead."); return self.putNoClobberContext(allocator, key, value, undefined); }
Insert an entry in the map. Assumes it is not already present.