| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ClampedNumeric(T) -> ClampedNumeric<UnderlyingType<T>>;Can you remind me why we use UnderlyingType here? We don't for CheckedNumeric.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ClampedNumeric(T) -> ClampedNumeric<UnderlyingType<T>>;Can you remind me why we use UnderlyingType here? We don't for CheckedNumeric.
Because nobody is dumb enough to write CheckedNumeric<enum> but someone wrote ClampedNumeric<enum>() via a cascade of macro expansions.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ClampedNumeric(T) -> ClampedNumeric<UnderlyingType<T>>;Tom SepezCan you remind me why we use UnderlyingType here? We don't for CheckedNumeric.
Because nobody is dumb enough to write CheckedNumeric<enum> but someone wrote ClampedNumeric<enum>() via a cascade of macro expansions.
Should we make that conversion explicit rather than having it helpfully/silently work? It seems kind of unexpected to me.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ClampedNumeric(T) -> ClampedNumeric<UnderlyingType<T>>;Tom SepezCan you remind me why we use UnderlyingType here? We don't for CheckedNumeric.
Daniel ChengBecause nobody is dumb enough to write CheckedNumeric<enum> but someone wrote ClampedNumeric<enum>() via a cascade of macro expansions.
Should we make that conversion explicit rather than having it helpfully/silently work? It seems kind of unexpected to me.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ClampedNumeric(T) -> ClampedNumeric<UnderlyingType<T>>;Tom SepezCan you remind me why we use UnderlyingType here? We don't for CheckedNumeric.
Daniel ChengBecause nobody is dumb enough to write CheckedNumeric<enum> but someone wrote ClampedNumeric<enum>() via a cascade of macro expansions.
Tom SepezShould we make that conversion explicit rather than having it helpfully/silently work? It seems kind of unexpected to me.
follow-on? This disrupts enough files as is?
I think we should fix that first (by making MakeClampedNum not use UnderylingType<T>) rather than allowing CTAD to deduce to UnderlyingType.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Tom SepezCan you remind me why we use UnderlyingType here? We don't for CheckedNumeric.
Daniel ChengBecause nobody is dumb enough to write CheckedNumeric<enum> but someone wrote ClampedNumeric<enum>() via a cascade of macro expansions.
Tom SepezShould we make that conversion explicit rather than having it helpfully/silently work? It seems kind of unexpected to me.
follow-on? This disrupts enough files as is?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Owners-Override | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |