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: Missing TR1 cmath functions


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.


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