This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C99 numeric and TR1


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>. You can track the status of our tr1 implementation in:

http://gcc.gnu.org/onlinedocs/libstdc++/ext/tr1.html

The latter is about mainline, would be 4.2.0.
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... Please do not confuse tr1, which is indeed a technical report, not normative, a step toward the next C++ standard, with any released standard. 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.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]