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
Hi
This is absolutely a goal to implement in the future. For now, what I always do is make an alias for it.
Something like using OptionalU8<T> = Optional<T, u8>;
What feature would you like to see?
Overrideable default values for template arguments like in C .
How will this feature be useful to you and others?
I have a large number of "optional" structs in my patterns
99% of the time
U
is au8
, but sometimes it is au32
. It would be nice to only have to specifyU
in the rare case rather than every time.Request Type
Additional context?
No response
The text was updated successfully, but these errors were encountered: