cpString

Eddie Kohler kohler at icir.org
Wed Oct 30 12:09:02 EST 2002


Neither data() nor c_str()/cc() affects the content and length of the
string.

However, c_str()/cc() may transparently make a copy of the string to ensure
that it is null-terminated. data() will never do this, so the return value
from data() may not be null-terminated.

Eddie




More information about the click mailing list