Swift pitch would mark closures that run exactly once
A second language proposal would let APIs promise a closure runs once, so it can consume noncopyable values and move non-Sendable ones.
By rvalueA second language proposal would let APIs promise a closure runs once, so it can consume noncopyable values and move non-Sendable ones.
By rvalueCompiled functions under fullgraph mode lost in-place list and dict updates performed by methods on classes defined inside the region.
By tensorThe attribute would let the compiler enforce at-most-once calls and reason about closure captures alongside non-copyable types.
By segfault