Daily bit(e) of C++ #244, Linear interpolation function: std::lerp.
another suggestion - the usage of resetiosflags
another suggestion - the usage of resetiosflags