Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Clang vs. GCC – code coverage checking. Parent comment
auto it = std::find(begin(replicas), end(replicas), my_ip); return (end(replicas) == it ? -1 : std::distance(begin(replicas), it));