26_numerics/c99_classification_macros_c.cc

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Jun 13 23:22:00 GMT 2003


Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:

[...]

| Some library maintainers believe that there is some purpose in
| checking that this conflict occurs since it is related to "clean
| namespaces", etc.  I'm less sure that it is worth doing but
| agree to the party line.

People complained in the past.  And even if we add C99 facilities to
the library, we should it in a the way recommanded for C90 facilities
(C++98, C++03) and also as proposed in the C99 math functions proposal
(C++ future revision).

  #include <cmath>

  class Float;
  Float cos(Float);

is not supposed to cause a clash.  Why should fpclassify do?


-- Gaby



More information about the Libstdc++ mailing list