If we have to go through the long way of creating a new temporary file and copying the content of the previous files into the temporary file, renaming and deleting the previous file...
Than why are std::ios::beg, std::ios::cur and std::ios::end existing?
I mean what, what exactly are there use?