15 Feb
2006
15 Feb
'06
12:55 p.m.
Hi, Jens Vollinga schrieb:
the compiler will complain and forces the user to disambiguate the call. Then you would have to write either std::log10 or GiNaC::log10, which makes sense to me.
one additional remark: #include <cmath> #include <ginac/ginac.h> int main() { GiNaC::symbol x("x"); GiNaC::ex r = sin(x); return 0; } compiles without errors (gcc 4.0.2) !?! Note that it doesn't say GiNaC::sin. Even ... { GiNaC::symbol x("x"); sin(x); return 0; } ... compiles! Now I am confused again ... Regards, Jens