This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: namespace c99
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: namespace c99
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 25 May 2001 10:07:25 +0200
- Cc: libstdc++ at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <Pine.SOL.3.91.1010525010038.21533C-100000@taarna.cygnus.com>
Benjamin Kosnik <bkoz@redhat.com> writes:
| grep for c99 | grep namespace in c_std/bits
I did that and that is why I asked. From
c_std/bits/std_cmath.h
tanh(long double __x) { return ::tanh(static_cast<double>(__x)); }
#endif
} // std
#if _GLIBCPP_USE_C99
// These are possible macros imported from C99-land. For strict
// conformance, remove possible C99-injected names from the
// global namespace, and sequester them in the c99 namespace.
namespace c99
{
template<typename _Tp>
int
__capture_fpclassify(_Tp __f) { return fpclassify(__f); }
template<typename _Tp>
int
__capture_isfinite(_Tp __f) { return isfinite(__f); }
Judging from your answer, that was unintented, right?
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com