Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Returning multiple values from functions in C++. Parent comment
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.
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.