New numeric_limits traits for C++-0x.
Paolo Carlini
paolo.carlini@oracle.com
Wed Feb 24 15:05:00 GMT 2010
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.
> 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.
Paolo.
More information about the Libstdc++
mailing list