From: Date: December 19 2005 8:36pm Subject: Re: packarray - version 0.2 List-Archive: http://lists.mysql.com/plusplus/5292 Message-Id: <20051219193649.GA5552@foursquare.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Thu, Dec 15, 2005 at 07:25:30AM -0700, Warren Young wrote: > Chris Frey wrote: > > > >http://groups.google.ca/group/comp.lang.c++.moderated/browse_thread/thread/e7bf096832526f8e/5714701b02a2a3cc?hl=en#5714701b02a2a3cc > > I just took a look at that, and saw that you seem to have worked out the > technical problems. Are we going to see a v0.3 soon, or were you > waiting on OS X tests with v0.2 from me first? I've been sidetracked by flu. The main thing I still don't like about v0.2 is that it uses a reinterpret_cast<> in an inline template function to provide the application access to double. I fear that could be optimized away someday, so am pondering putting that string-to-double casting in a .cpp file, which can be compiled with -fno-strict-aliasing in the library for safety. Also, James Kanze in the newsgroup recommended using frexp() and ldexp() to do the double conversions portably, which would be nice in v0.3, but I haven't done that yet. That's the implementation that should really be tested on OS X when it's done. Thanks, - Chris