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
Subscribe to:
Post Comments (Atom)
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
No comments:
Post a Comment