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]

Re: V3 PATCH: #undef some C99 math macros in <cmath>


Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> writes:

> Where should we put those? In the global namespace or in the std::?
> 
> Strictly speaking, we're not allowed to put them in the global
> namespace.

You'll have to face it: the C++ people screwed up big time by not
looking forward to C99 and in advance making decisions about the
extensions.  Sooner or later all the definitions will be in std:: and
the sooner this is done the better.  I really would prefer not to see
a namespace isoc99::.  But if you think it is necessary allow some
mode where std:: includes isoc99::.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


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