Re:C++17 is formally approved
by m-ou-se on Thursday September 07, 2017 @07:54AM
(#15190939)
C++ already had syntax for pulling out one member by name: ;)
[ Parent
| on HN ]
Re:C++17 is formally approved
by faitswulff on Thursday September 07, 2017 @09:19AM
(#15191522)
I'm not sure what the wink means, but I think gp might be talking about destructuring like what you'd find in Javascript:
> const {a, b} = {a: 'hey', b: 'there'}
undefined
> a
'hey'
> b
'there'