namespace c99
Gabriel Dos Reis
gdr@codesourcery.com
Fri May 25 01:07:00 GMT 2001
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
More information about the Libstdc++
mailing list