You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of the keyword generics proposal involves writing a single function that is generic over sync and async contexts, but whose implementation can be specialized depending on which context it is invoked in. The const_eval_select intrinsic is one (unstable) pattern for specialization that might be used more broadly for keyword generics. implspecialization (specifically a sound subset of the original 2015 RFC) is another unstable pattern for specialization. Do you see a synergy between specialization and keyword generics?
The text was updated successfully, but these errors were encountered:
Part of the keyword generics proposal involves writing a single function that is generic over sync and
async
contexts, but whose implementation can be specialized depending on which context it is invoked in. Theconst_eval_select
intrinsic is one (unstable) pattern for specialization that might be used more broadly for keyword generics.impl
specialization (specifically a sound subset of the original 2015 RFC) is another unstable pattern for specialization. Do you see a synergy between specialization and keyword generics?The text was updated successfully, but these errors were encountered: