Comment Comment by veyron It's STL-implementation specific. look in your c++ kit.in mine (osx 10.6.7, g++ 4.2.1), it's in/usr/include/c++/4.2.1/bits/stl_algo.hand it uses an algorithm very similar to the original article parent veyron 15 years ago
in mine (osx 10.6.7, g++ 4.2.1), it's in
/usr/include/c++/4.2.1/bits/stl_algo.h
and it uses an algorithm very similar to the original article