On Feb 25, 2006, at 12:49 AM, Andy Little wrote:
"Noel Belcourt" wrote
I'm just curious but what kind of test are these numbers (30 -> 4 seconds) measuring?
After buying Dave and Aleksy's MPL book, I went ahead and implemented the quantity
prototype they proposed to do dimensional analysis, then added unit support, enforcement and conversion, but not automatic conversion and also added support for dimensionless numbers. I have, in my mind's eye, a very full featured pqs-like system that relies heavily on mpl and I've not seen any sort of compile speed problems like you report. If that is the case that is great. Is there any chance of seeing the library?
Yeah, it can be done but it may take a little effort. There's no documentation of any kind except for one line comments preceding the BOOST_STATIC_ASSERT's scattered throughout the code. And where do I put it, in the sandbox? -- Noel