3 ms·
yes ! named parameters are an option. it would be quite cool if c++ did have c99's equivalent of designated initializers, and without the restrictions of 1.
by signa11 5y ago
yes ! named parameters are an option.
it would be quite cool if c++ did have c99's equivalent of designated initializers, and without the restrictions of
1. following decl-order while doing the initializations and
2. omitting unwanted or unneeded parameter values
probably, to some extent, 1 follows from 2 ?
- Gibbon1 5y agoLast time I looked a few years ago there was some issue with class instantiation and the order of initialization that was holding them back from implementing designated initializers. Can't remember the details.