-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
It was noted in RFC 911 that unsafe const fn
was an unresolved question.
Along with #913, adding support for unsafe const functions will allow constructing empty collections in statics (most likely wrapped with a mutex or similar). At the moment, this isn't possible as Unique's constructor is unsafe, and hence cannot be const
(the compiler rejects such a definition)
Metadata
Metadata
Assignees
Labels
No labels