New numeric_limits traits for C++-0x.
Ed Smith-Rowland
3dw4rd@verizon.net
Wed Feb 24 15:24:00 GMT 2010
Paolo Carlini wrote:
> On 02/24/2010 04:00 PM, Ed Smith-Rowland wrote:
>
>> The radix was a leftover from when I thought I needed this for
>> integral types. The max_decimal10 are all zero for integral types.
>> I was about to take it out when I thought we'll need to do this for
>> decimal types someday. (I think we are responsible for decimal
>> additions to other headers. Later.)
>>
>> I can take it out for now if you want.
>>
> Yes, please.
>
>> I was being bone headed about the static const members. Of course
>> they need definition. I'll do that in limits.cc (actually
>> limits_c++0x.cc).
>>
> The latter doesn't exist anymore, actually.
>
I see that limits.cc in now compiled with gnu++0x so it catches everything.
>> Now about gnu.ver. What if the new symbols are already covered by an
>> existing pattern? Can I just add a new empty version?
>>
> You have to tighten the baseline patterns to not "catch" the new
> symbols. When you are sure that abi_check doesn't fail, add the new
> exports at the current version.
I see. Thanks.
> Thanks.
>
> Paolo.
>
>
More information about the Libstdc++
mailing list