Why are string and vector distinct types?

Posted by dan04 on Stack Overflow See other posts from Stack Overflow or by dan04
Published on 2010-03-13T00:38:55Z Indexed on 2010/03/13 0:47 UTC
Read the original article Hit count: 304

Filed under:
|
|
|

They're both resizable arrays, and std::basic_string doesn't have any specifically character-related functions like upper(). What's special about string to make it better for character data?

© Stack Overflow or respective owner

Related posts about c++

Related posts about stl