This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 26_numerics/c99_classification_macros_c.cc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]