|
Boost : |
From: Kevin Lynch (krlynch_at_[hidden])
Date: 2004-01-13 11:31:46
Matthias Schabel wrote:
>
> A demonstrative code snippet of what you would like to be able to do
> would be really helpful...
>
See my other post to Andy Little for a little snippet (bad pun
unintended) .... and I'll try to come up with something better. I just
don't happen have anything lying around that will be trivial to update.
>> My code is either done running in less time that it takes to compile
>> (short code that would only benefit from nearly zero compile time
>> overhead) or already runs for hundreds of hours (and hence would want
>> a zero runtime overhead, a far more important constraint for those
>> applications where I would consider using the units framework).
>
>
> This is spanning the spectrum.
I realize that. In practice, in the very short one-offs, I probably
wouldn't bother. In the code that runs seemingly forever, I would be
willing to give up lots of compile time (of course, faster would be
better :-) to catch errors that would cost me days or weeks of wasted
computation.....
-- ------------------------------------------------------------------------------- Kevin Lynch voice: (617) 353-6025 Physics Department Fax: (617) 353-9393 Boston University office: PRB-361 590 Commonwealth Ave. e-mail: krlynch_at_[hidden] Boston, MA 02215 USA http://budoe.bu.edu/~krlynch -------------------------------------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk