Template definition and declaration separation
One of the more annoying things about templates is their requirement of one source file per object definition. You cannot have separate declaration in an header and a definition in separate source file. At the time of template usage ALL its definition must be known. But there is a neat trick I found while reading […]