
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: 26 May 2009 21:26 To: boost@lists.boost.org Subject: Re: [boost] float_mem_cast
AMDG
My samples use the typecast because it's necessary when sorting on a floating point key that isn't identical to the data type (such as key
Steven Ross wrote: plus
data sorting); should they use it from the detail namespace? If that's reasonable, then I'll move it.
Nevermind what I said. I didn't understand that users would need to call the function. Just leave it in spreadsort.hpp.
This would indeed seem to quite widely useful - but if you just leave it there, how will anyone find it? It really would be much more useful and discoverable with some docs and tests however minor, even if it stays in spreadsort.hpp? Paul --- Paul A. Bristow Prizet Farmhouse Kendal, UK LA8 8AB +44 1539 561830, mobile +44 7714330204 pbristow@hetp.u-net.com