-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
A-type-systemArea: Type systemArea: Type system
Description
The init()
intrinsic seems to fill data with zeros. It's convenient. But it's unsafe as written! It should either be limited to POD types (via a new kind) or else designated unsafe.
I also think there should be an (unsafe) uninit()
intrinsic (#3471).
Metadata
Metadata
Assignees
Labels
A-type-systemArea: Type systemArea: Type system