This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Where is C++'s math.h's double abs(double)?
Gabriel Dos Reis wrote:
>
> Ross Smith <ross.s@ihug.co.nz> writes:
>
> | Gabriel Dos Reis wrote:
> | >
> | > | " Each C header, whose name has the form name.h, behaves as if each name
> | > | placed in the Standard library namespace by the corresponding cname header is
> | > | also placed within the namespace scope of the name-space std and is followed
> | > | by an explicit using-declaration (7.3.3) 3
> |
> | Using declarations import names, not specific overloads.
>
> But unlike a using-directive, name lookup won't find overloaded
> declaration introduced later.
What on earth does that have to do with it? Where does it say in the
standard that the material in <cmath> and <math.h> is split up like
that?
--
Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
========================================================================
"Hungarian notation is the tactical nuclear weapon of
source code obfuscation techniques." -- Roedy Green