Boost logo

Boost :

Subject: Re: [boost] float_mem_cast
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-05-29 03:07:47


Steven Watanabe skrev:
> AMDG
>
> Steven Ross wrote:
>> 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
>> 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.

Isn't this what we need in the bounded_float<> template we reviewed
during the constrained value lib?

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk