This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: C99 numeric and TR1
Paolo Carlini wrote:
> Mateusz Loskot wrote:
>> I use GCC 4.0.3 and I have TR1 library but as I see there are no
>> numeric functions.
>>
> We will deliver those specific tr1 bits only with gcc4.2.0, you cannot
> possibly have them in 4.0.x. In 4.2.0 you will find those functions in
> namespace std::tr1, by including <tr1/cmath>.
Paolo,
OK, it's clear.
>> May be my understanding is incorrect but I'm trying to guess why
>> GCC/libstdc++ polutes std namespaces with functions like isfinite(),
>> as an extension, instead of putting it into std::tr1, the namespace
>> already available in GCC 4.x. Any comments?
>>
> I was hoping the issue was settled ;) Anyway...
I appologize if I'm dogged :-)
> Please do not confuse
> tr1, which is indeed a technical report, not normative, a step toward
> the next C++ standard, with any released standard.
Yes, I'm aware of intentions and state of TR1.
> As you know well by now, the next standard will include the facilities
> at issue in namespace std. In fact, we are already delivering those
> facilities in std, and, per a recently discussed policy (just search the archives),
> we consider that appropriate because the facilities are already in the draft of C++0x.
I understand it. Thank you for your patience!
Cheers
--
Mateusz Loskot
http://mateusz.loskot.net