Adding a null terminator if the internal string is not null terminated. I note that this is actually an option for implementations of std::basic_string. For example, the data() member function returns a pointer to the first character of an array of characters that is not guaranteed to be null terminated.If foo is a string-like class what additional modifications should c_str possibly perform?