-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Closed
Labels
A-type-systemArea: Type systemArea: Type system
Description
Would this be possible?
pub enum Reply<V, StopReason> {
Reply(V),
Stop(StopReason),
}
pub static Continue<StopReason>: Reply<(), StopReason> = Reply(());I guess it would be less useful than the C++14 proposal seeing as our constexprs are currently so limited.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-type-systemArea: Type systemArea: Type system