May 2013
Intermediate to advanced
1376 pages
47h 26m
English
For every complex problem, there is an answer that is clear, simple, and wrong.
– H. L. Mencken
When Is Instantiation Needed?; Manual Control of Instantiation
Dependent Names; Point-of-Definition Binding; Point-of-Instantiation Binding; Multiple Instantiation Points; Templates and Namespaces; Overaggressive ADL; Names from Base Classes
• Advice
One of the great strengths of templates is that they are an extremely flexible mechanism for composition of code. To produce impressive code quality, a compiler combines code (information) from
• the template definition and its lexical environment,
• the template arguments and their lexical environment, and
Read now
Unlock full access