c++ std flag changed