cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE.
2006-02-21 Benjamin Kosnik <bkoz@redhat.com> * include/c_std/cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE. From-SVN: r111357
This commit is contained in:
parent
45f388bb44
commit
0d4124d448
|
@ -1,3 +1,8 @@
|
||||||
|
2006-02-21 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
|
* include/c_std/cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE,
|
||||||
|
_GLIBCXX_END_NAMESPACE.
|
||||||
|
|
||||||
2006-02-21 Benjamin Kosnik <bkoz@redhat.com>
|
2006-02-21 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
* include/bits/c++config: Simplify debug namespaces.
|
* include/bits/c++config: Simplify debug namespaces.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- C++ -*- C math library.
|
// -*- C++ -*- C math library.
|
||||||
|
|
||||||
// Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc.
|
// Copyright (C) 2000, 2003, 2004, 2006 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
// software; you can redistribute it and/or modify it under the
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -32,8 +32,8 @@
|
||||||
#ifndef _GLIBCXX_CMATH_TCC
|
#ifndef _GLIBCXX_CMATH_TCC
|
||||||
#define _GLIBCXX_CMATH_TCC 1
|
#define _GLIBCXX_CMATH_TCC 1
|
||||||
|
|
||||||
namespace std
|
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||||
{
|
|
||||||
template<typename _Tp>
|
template<typename _Tp>
|
||||||
inline _Tp
|
inline _Tp
|
||||||
__cmath_power(_Tp __x, unsigned int __n)
|
__cmath_power(_Tp __x, unsigned int __n)
|
||||||
|
@ -49,6 +49,7 @@ namespace std
|
||||||
|
|
||||||
return __y;
|
return __y;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
_GLIBCXX_END_NAMESPACE
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue