Bug in cmath namespace

John Love-Jensen eljay@adobe.com
Mon Jan 30 14:57:00 GMT 2006


Hi Jens,

Sorry for the typo on your name.  I'm used to typing "Love-Jensen" and my
fingers didn't stop typing in time.  :-)

I *believe* 17.4.1.2.4 for <cmath> requires the std::sin symbol, but does
not preclude global namespace ::sin.

But... I'm not assuredly sure if ::sin is to be expected, or if it is an
implementation detail.  Or if I'm mistaken entirely and ::sin should not be
present at all.

(My druthers would be that ::sin is not present at all.  C'est la vie.)

Sincerely,
--Eljay



More information about the Gcc-help mailing list