mostly complete numeric_limits<>
Peeter Joot
peeter@joot.com
Wed Feb 18 23:56:00 GMT 1998
> i was trying to make a point that numeric_limits contains
> vital information about target architecture - therefore it
> should be automatically generated after configure run.
> Without that the providing pieces of specialization for
> char, short etc is, IMHO, a bit pointless.
I agree that it should be autogenerated, but what I have
currently is mostly portable as it uses the appropriate
constants from cfloat and climits rather than hard coded
values. I don't think it is pointless to provide the
specializations in this fashion -- its just not a state
that is ready for contribution to the compiler.
Peeter
--
Peeter Joot
http://www.accessv.com/~peeter peeter@accessv.com
More information about the Gcc
mailing list