Discover the interesting ways that templates and inheritance interact by taking a close look at named template arguments, the Empty Base Class Optimization (EBCO), the Curiously Recurring Template Pattern (CRTP), and parameterized virtuality.
This article treats memory buffers in C++, but with two twists: first, the buffers are generic, which means they can contain typed data. Second, the buffers are as efficient as their hosted type and the host operating system allows, in every aspect.
This article does not treat buffers directly, but rather two operations that are commonly performed with buffers: filling a buffer with a value and copying between buffers and various containers.