Exceptional C Plus Plus Style

From StoneHome

This is the third book of The Sutter Trio.

0201760428.01._SCTZZZZZZZ_.jpg
  • 40 New Engineering Puzzles, Programming Problems, and Solutions Buy new or buy used

The third in the Sutter Trio, EC++Style is arguably the most difficult of the three. This book focusses less on errors and more on when it's appropriate to bend the more typical rules of thumb - when one should leak the private parts of a class, whether function templates should be specialized, deeper observations of exception specification and how exceptions reach further than try blocks, how to deal with the fragile interface problem, and so on. The book even levies some insightful commentary on the design of existing systems, in particular the STL and std::string. This book isn't as critical a read as the other two, but can be a very eye-opening work for large system designers and library designers, especially those interested in polishing and buletproofing their code for a wide range of users with an extremely wide range of use patterns. Anyone whose use of exceptions extends beyond their control absolutely needs to read this book.