Re:Returning multiple values from functions in C++
by eps on Monday March 07, 2016 @05:19AM
(#11238072)
Yeah, same here, a president of a local Duff's decice fanclub, but you have to admit that proposed C++ 17 feature is pretty nice:
It's a syntax sugar, granted, and they could push it further by adopting tuples as a native language construct with some shorthand notation (e.g. [...]), but the idea is nice.
[ Parent
| on HN ]
Re:Returning multiple values from functions in C++
by stinos on Monday March 07, 2016 @06:40AM
(#11238340)
Especially when being used to Python this would be a very welcome addition
Re:Returning multiple values from functions in C++
by tdsamardzhiev on Monday March 07, 2016 @07:17AM
(#11238451)
Sweet!
Although I still cannot believe it took C++ like 30 years to come up with this.