Builtin Functions

@addWithOverflow

@addWithOverflow(a: anytype, b: anytype) struct { anytype, u1 }

Performs a + b and returns the result with an overflow bit.

@atomicLoad

@atomicLoad(comptime T: type, ptr: *const T, comptime ordering: AtomicOrder) T

This builtin function atomically dereferences ptr.

Other

@ignored

@ignored()