atomgalaxy / wg21-cust-points

P2547
3 stars 0 forks source link

Investigate default parameters #21

Open cor3ntin opened 2 years ago

cor3ntin commented 2 years ago

When an override or default is matched against a prototype with default(s) parameter(s), the initializers of these parameters is attached to the declaration so they don't have to be looked for again

lewissbaker commented 2 years ago

I think we can kind of do default parameters by having final functions that have fewer parameters that forward to customisable functions, providing defaults for the missing parameters.

Maybe not so urgent to add this?