Template Meta Programming
Tomorrow (May, 27th) we'll have our next C++ user group meeting. (15:00 in 0|200 at FIAS)
Jonas Glesaaen has prepared a talk on “Template Meta Programming”:
One can do much more with C++ templates than most realize, as the template
system itself happens to be Turing-complete. Using this language within C++
it is possible to move some executions from runtime to compile time,
possibly reducing runtime and moving error checks to take place during
In this talk we will look at how to use the template system to carry out
simple calculations during compilation. We will also scratch the surface of
boost's metaprogramming library (MPL) which provides a lot of useful
metafunctions and metaclasses to facilitate programming with templates.
Following the talk we will have time for open discussion on C++ topics. So, if you have a C++ programming question, bring it along!