Is the following way of manipulating a string or a container idiomatic?
string s = "hello"; for (auto &p : s) { p = \'a\'; }