Given: std::string theirs["theirs"]; The behavior of the following is undefined: theirs[theirs.length()] == '\0';Reference: The C++ Standard Library: A Tutorial and Reference, Nicolai M. Josuttis. Addison-Wesley, 1999, p. 487.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment