Re: [boost] Quantity library: any interest?

2003-04-30 Thread Terje Slettebø
>From: <[EMAIL PROTECTED]> > > Even if angle is added as a dimension, to an implementation using an > > integer vector, it still wouldn't accommodate any other dimensions > > added later, without rewriting the library and unit definitions. > > how about having the basic SI dimensions and a couple

Re: [boost] Quantity library: any interest?

2003-04-27 Thread renej
>>From: <[EMAIL PROTECTED]> > >> we use the int-based template approach for a couple of years now in >> our AGV controller software. We actually sometimes reach the stage >> that it works when succesfully compiled and linked. Since our control >> software is physics throughout (field of robotics),

Re: [boost] Quantity library: any interest?

2003-04-27 Thread David Abrahams
Terje Slettebø <[EMAIL PROTECTED]> writes: >>From: "David Abrahams" <[EMAIL PROTECTED]> > >> These are my (only slightly informed) opinions. I've heard Walter >> Brown talk about angle in this context, which was a big influence. >> >> Terje Slettebø <[EMAIL PROTECTED]> writes: >> >> > Regarding t

Re: [boost] Quantity library: any interest?

2003-04-27 Thread Terje Slettebø
>From: <[EMAIL PROTECTED]> > we use the int-based template approach for a couple of years now in > our AGV controller software. We actually sometimes reach the stage that > it works when succesfully compiled and linked. Since our control software > is physics throughout (field of robotics), the ty

Re: [boost] Quantity library: any interest?

2003-04-27 Thread Terje Slettebø
>From: "David Abrahams" <[EMAIL PROTECTED]> > These are my (only slightly informed) opinions. I've heard Walter > Brown talk about angle in this context, which was a big influence. > > Terje Slettebø <[EMAIL PROTECTED]> writes: > > > Regarding this angle dimension, should it be treated like the o

Re: [boost] Quantity library: any interest?

2003-04-27 Thread David Abrahams
These are my (only slightly informed) opinions. I've heard Walter Brown talk about angle in this context, which was a big influence. Terje Slettebø <[EMAIL PROTECTED]> writes: > Regarding this angle dimension, should it be treated like the other > SI-dimensions? That is, say that you represent

Re: [boost] Quantity library: any interest?

2003-04-27 Thread Terje Slettebø
>From: <[EMAIL PROTECTED]> Still on the subject of a quantity library. > > There is DEFINITELY a need for this - and in the C++ Standard Library, > > but the relative merits of the two proposals mae so far are not yet > > clear to me. > > > > Perhaps we need more real user experience. (Or is the

[boost] Quantity library: any interest?

2003-04-12 Thread Pavel Vozenilek
I wrote Quantity library some time ago and wonder whether it may get added into Conversion library. If anyone gets interested I will Boostify and submit it. Quantity library is used to get safe conversions between different physical units (like between Celsius and Farhernheit degrees). Instead of