Basic C++ utility library