Chapter 39. Monoliths “Unstrung,” Part 3:
The Slim-Fast diet continues, and
std::string is indeed slimming fast.
More Operations That Can Be Nonmember Nonfriends
In this Item, we'll see that all the following functions can be implemented as non-member nonfriends:
insert(7—all but the three-parameter version)
string::resizebe a nonmember function? Explain.
Well, let's ...