All the STL containers are useful, but if you’re like most C++ programmers, you’ll find yourself reaching for
string more often than their compatriots. That’s to be expected.
string are designed to replace most applications of arrays, and arrays are so useful, they’ve been included in every commercially successful programming language from COBOL to Java.
The Items in this chapter cover
strings from a number of perspectives. We begin with a discussion of why the switch from arrays is worthwhile, then look at ways to improve
string performance, identify important variations in
string implementations, examine how to pass
string data to APIs that understand only ...