A collection of algorithms for C++