removes std from algorithm header