Missing TR1 cmath functions
John Maddock
john@johnmaddock.co.uk
Wed Aug 27 21:54:00 GMT 2008
Paolo Carlini wrote:
> John Maddock wrote:
>> Any particular reason why the functions in section 8.16 of the TR are
>> missing from namespace std::tr1:: even though they are available in
>> namespace std:: ?
> I don't see this. Please provide an explicit testcase.
#include <tr1/cmath>
int main()
{
std::tr1::tgamma(0);
}
leads to:
t.cpp: In function 'int main()':
t.cpp:5: error: 'tgamma' is not a member of 'std::tr1'
John.
More information about the Libstdc++
mailing list