diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2006-02-22 02:26:47 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2006-02-22 02:26:47 +0000 |
commit | 0d4124d4480ad127d305cd2402e34d56245fa7b8 (patch) | |
tree | 97e3fb9a2af996c722d278749bc7d3da16588806 | |
parent | 45f388bb44a9025c0b8284b84f1524474cff14b5 (diff) | |
download | gcc-0d4124d4480ad127d305cd2402e34d56245fa7b8.zip gcc-0d4124d4480ad127d305cd2402e34d56245fa7b8.tar.gz gcc-0d4124d4480ad127d305cd2402e34d56245fa7b8.tar.bz2 |
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
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/c_std/cmath.tcc | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c02ac6f..39f58d4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 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> + * include/bits/c++config: Simplify debug namespaces. * include/ext/hash_set: Specialize insert_iterator after norm, debug containers have been (optionally) declared. Use nested diff --git a/libstdc++-v3/include/c_std/cmath.tcc b/libstdc++-v3/include/c_std/cmath.tcc index 737b58c..b2df1be 100644 --- a/libstdc++-v3/include/c_std/cmath.tcc +++ b/libstdc++-v3/include/c_std/cmath.tcc @@ -1,6 +1,6 @@ // -*- 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 // software; you can redistribute it and/or modify it under the @@ -32,8 +32,8 @@ #ifndef _GLIBCXX_CMATH_TCC #define _GLIBCXX_CMATH_TCC 1 -namespace std -{ +_GLIBCXX_BEGIN_NAMESPACE(std) + template<typename _Tp> inline _Tp __cmath_power(_Tp __x, unsigned int __n) @@ -49,6 +49,7 @@ namespace std return __y; } -} + +_GLIBCXX_END_NAMESPACE #endif |