News for hackers. Stuff that matters.
Re:Ill-Advised C++ Rant, Part 2 by hendzen on Sunday March 06, 2016 @09:53PM (#11236811)
There is such a function in the STL already.

http://en.cppreference.com/w/cpp/iterator/distance

There are no comments on this comment yet.