-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-type-systemArea: Type systemArea: Type system
Description
It's currently really hard to use noncopyable data with things like vec::each
or uint::range
, since the type system doesn't know how many times these functions will invoke their closures. It'd be nice to have some way for the compiler to know that a closure will be called at most once, so it can be safe to move out of upvars in these closures.
Metadata
Metadata
Assignees
Labels
A-type-systemArea: Type systemArea: Type system