PATCH: Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998

Gabriel Dos Reis Gabriel.Dos-Reis@cmla.ens-cachan.fr
Fri Apr 20 16:55:00 GMT 2001


Benjamin Kosnik <bkoz@redhat.com> writes:

| I believe consensus on this issue is that Loren's patch stands, as is,
| and should be checked in. Gaby, unless you have some new insight (and
| share it with us :] ) I move that Loren checks this patch in tonight.

Please check in the patch.  I'll deal the issue on the -lib reflector.

Current rules make the following unpredictable

	#include <iostream>
	#include <cstdlib>

	int main()
	{
	   std:cout << std::abs(9.5) << std::endl;
	}

That would be avoided avoided if abs() goes in <cstdlib> as marked in
table 81.

-- Gaby



More information about the Libstdc++ mailing list