News for hackers. Stuff that matters.
Re:Returning multiple values from functions in C++ by ericfrederich on Monday March 07, 2016 @08:44AM (#11238777)
Meaningful names would be nice.

In C++ iterating over a map items you get a pair with ->first() and ->second() methods instead of key / value.

Python has named tuples which can work both ways.

There are no comments on this comment yet.