Sunday, June 20, 2010

String Size and Length

For any string s, s.size() == s.length()

Reference: The C++ Standard Library: A Tutorial and Reference by Nicolai M. Josuttis. Addison-Wesley, 1999, p. 476.

No comments:

Post a Comment