Sorry I have been away on holiday and couldn't comment sooner. This whole problem is rather complicated and I accept Guillaume's view that the interval library IO may best be left minimal or non-existent (though some examples may save users, especially novice users, some time in devising something to suit themselves. Terje's is a useful example, like Guillaume's - which should be documented as an example, not removed).
I have devised an uncertain scheme based on code by Evan Manning ([EMAIL PROTECTED]) Evan Marshal Manning C/C++ Users Journal, March 1996 page 29 to 38. original downloaded from ftp://beowulf.jpl.nasa.gov/pub/manning A fuller collection of even fancier classes also given in UReal.h. Standard deviation & its uncertainty added Paul A Bristow 31 Mar 98 to Jun 03. but found it rather messy to implement (especially input). It might be cleaner inheriting from the interval library (though I am not sure). Quite how to bring this, and the quantity library together, is a major task, but I remain convinced it is an important objective. Now that the major compiler incompatibility and in completeness problems appear to be solved, I will look at my code again. Paul Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK +44 1539 561830 Mobile +44 7714 33 02 04 Mobile mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] Behalf Of Terje Slettebų | Sent: Monday, May 05, 2003 11:17 PM | To: Boost mailing list | Subject: Re: [boost] Re: I/O operators for Interval library | | | >From: "Guillaume Melquiond" <[EMAIL PROTECTED]> | | > On Mon, 5 May 2003, [iso-8859-1] Terje Slettebų wrote: | > | > > >From: "Guillaume Melquiond" <[EMAIL PROTECTED]> | > > | > > The proposed output operator may be more general-approach, though, for | the | > > cases where intervals are used to specify precision, so it might be | useful | > > to provide it in some way, rather than each user having to make it. | > | > Unfortunately, is there really a version of the operators that could be | > useful to more than a few users? | | I guess it depends. As mentions, Paul A. Bristow brought up the issue of | using the Interval library with a quantity library. Unless the values are | represented in a way that's easy to understand, such as this, it may be hard | to use it with it. If he's reading this, maybe he could comment? | _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost