Boost logo

Boost :

From: David A. Greene (greened_at_[hidden])
Date: 2006-06-09 21:23:21


Janek Kozicki wrote:
> Andy Little said: (by the date of Fri, 9 Jun 2006 16:11:14 +0100)
>
>
>>FWIW this syntax is trival in PQS:
>>
>> typedef pqs::length::m length;
>> typedef pqs::time::s time;
>> typedef pqs::velocity::m_div_s velocity;
>>
>> length meter(){return length(1);}
>> time second(){return time(1);}
>> velocity x = 10 * meter() / second();
>>
>> IOW If you prefer to work this way you can.
>
>
> It's a very interesting idea!

Yes, definitely. I like this solution very much.

                          -Dave


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