From: Andy Little (andy_at_[hidden])
Date: 2006-06-17 16:14:57
"Oleg Abrosimov" <beholder_at_[hidden]> wrote
> Moreover, I have a strong feeling that the solution with simple Length
> would be better. In particular, it'll simplify your code that uses PQS.
> You've said that PQS helps you to remember in what units a variable is.
> In a scheme with Length you simply have no need to remember it nor think
> about it anymore.
> Of course, I can be completely wrong. If so, I would like to see a
> complete example were current scheme is beneficial. In C++, please.
Have you looked in the examples provided with pqs_3_1_0/pqs_3_1_1?
Some examples there showing the advantages of units are:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk