Chapter 12. Writing Exception-Safe Code—Part 5
All right, you've had enough rest—roll up your sleeves, and get ready for a wild ride.
Now we're ready to delve a little deeper into the same example, and write not just one but two new-and-improved versions of
Stack. Not only is it, indeed, possible to write exception-safe generic containers, but by the time this miniseries is over, we'll have created no fewer than three complete solutions to the exception-safe
Along the way, we'll also discover the answers to several more interesting questions:
How can we use more-advanced techniques to simplify the way we manage resources and get rid of the last
catchinto the bargain?
How can we improve
Stackby reducing the requirements ...