
[mailto:boost-bounces@lists.boost.org] On Behalf Of David Abrahams
Kresimir Fresl <fresl@grad.hr> writes:
David Abrahams wrote:
"Sohail Somani" <s.somani@fincad.com> writes:
Dave Abrahams wrote:
Dimensional analysis is really a very poor example of what TMP can do: [...]
Then why is it such a prominent example in the documentation?
In what documentation?
Maybe this one:
THE BOOST MPL LIBRARY
That tutorial is a very good example of how to work with the abstractions of the MPL. That doesn't mean it's representative of what metaprogramming can do. Those are two very different things.
If I give you a tour of a workshop and show you how to use all the tools, it doesn't necessarily mean you've learned much about the kinds of things you can build in that workshop.
Several later chapters in the book are devoted to giving people a better sense of what you can do with TMP.
I'll have to check out the book then :)