Chapter 9. Shims

 

It is change, continuing change, inevitable change, that is the dominant factor in society today. No sensible decision can be made any longer without taking into account not only the world as it is, but the world as it will be.

 
 --Isaac Asimov
 

Nothing is more admirable than the fortitude with which millionaires tolerate the disadvantages of their wealth.

 
 --Nero Wolfe

Introduction

Shims are simple but powerful tools for generalized programming that afford moderate to high cohesion with minimal—often zero—coupling. The shim concept describes an unbounded suite of function overloads that generalize between (aspects of) conceptually related but physically unrelated types and exhibit the following characteristics.

  • Name: The shim name ...

Get Extended STL, Volume 1: Collections and Iterators now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.