Saturday, June 19, 2010

String of Zeroes

If a string s, only contains 10 bytes of zero, then s.length() == 10.

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

No comments:

Post a Comment