Boost logo

Boost :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-06-07 11:51:26


> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of David Abrahams
> Sent: Wednesday, June 07, 2006 5:37 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] [review] pqs
>
> "David A. Greene" <greened_at_[hidden]> writes:
>
> > It is also, IMHO, one of the best practical examples of template
> > metaprogramming.
>
> I just want to clear something up about this. It's not directed at
> PQS in particular, but at the whole domain of dimensional analysis as
> an example of TMP.
>
> Dimensional analysis is really a very poor example of what TMP can do:
> interesting TMP involves some generation of code that actually "does
> something," as in the state machine example in C++TMP or Blitz++
> expression templates or Boost.Lambda. Dimensional analysis basically
> only adds error messages where they wouldn't otherwise have been.

Then why is it such a prominent example in the documentation?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk