charT& front();const charT& front() const;
1234567891011
// string::front #include <iostream> #include <string> int main () { std::string str ("test string"); str.front() = 'T'; std::cout << str << '\n'; return 0; }
Test string