- user-friendly: keep the original type of the parameter
- common: use a type different from the parameter type (named
Flexible_Default
) to apply the condition
maki49 / flexible_default Goto Github PK
View Code? Open in Web Editor NEWUsing Template+Lambdas to Support Conditioned Default Value