-
Book Overview & Buying
-
Table Of Contents
Data Structures and Algorithms with the C++ STL
By :
Within the STL, std::string is a class designed to manage sequences of characters. std::string simplifies text handling by providing a range of string manipulation and analysis features. std::string is not classified under the sequence containers category in the formal C++ Standard Library documentation, though it behaves very much like one. Instead, it is categorized under a separate Strings category, recognizing its general container-like behavior and its specialized nature for text handling.
std::string represents a dynamic sequence of characters and is essentially a specialization of std::vector<char>. It is designed for the following:
It’s particularly suitable in the following contexts:
Choose...