4 ms·
Does this proposal have any support? At first it seems nice, but is it realistic to add so much new syntax to the language?
by rightbyte 7y ago
Does this proposal have any support?
At first it seems nice, but is it realistic to add so much new syntax to the language?
- de_watcher 7y agoStructured bindings need to get rid of the mandatory dummy variables in case of the unused parts of the structure. So something has to be added.
- gumby 7y agoSomething has to be added but it could just be an empty comma, which IIRC parallels initialization: use `auto& [a, , c]` to match the first and third elements of a tuple.