Chapter 21. Veneers

VeneerA thin leaf or layer of a more valuable or beautiful material for overlaying an inferior one.

Veneers are used to layer type, functionality, or both, over existing types in a fine-grained manner. A veneer is often used to add that “final touch” to an existing, substantial type. It may also be a way to bind specific behavior to a simple type. Think of veneers as being a jar of fine polish in your cognizant-conversion toolbox.

Get Imperfect C++ Practical Solutions for Real-Life Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.