Templates have gone from being a 'nice-to-have' feature to a key part of C++ but using them can be difficult in practice.
We will describe some problematic areas and see how things such as "constexpr if" - coming in C++17 - and the Concepts Technical Specification - available in gcc - can make templates easier both to write and to use.
YOU MAY ALSO LIKE:
Making Templates Easier
Roger has been a member of ACCU since 1999; he's on the ACCU committee and Conference committee, the Overload review team and runs the Code Critique section of CVu. He also writes the occasional article for CVu and Overload.