aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext/numeric
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/ext/numeric')
-rw-r--r--libstdc++-v3/include/ext/numeric9
1 files changed, 5 insertions, 4 deletions
diff --git a/libstdc++-v3/include/ext/numeric b/libstdc++-v3/include/ext/numeric
index 0f112c2d6e1..290d032836a 100644
--- a/libstdc++-v3/include/ext/numeric
+++ b/libstdc++-v3/include/ext/numeric
@@ -1,6 +1,6 @@
// Numeric extensions -*- C++ -*-
-// Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+// Copyright (C) 2002, 2004, 2005 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
@@ -68,8 +68,8 @@
#include <ext/functional> // For identity_element
-namespace __gnu_cxx
-{
+_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
+
// Returns __x ** __n, where __n >= 0. _Note that "multiplication"
// is required to be associative, but not necessarily commutative.
template<typename _Tp, typename _Integer, typename _MonoidOperation>
@@ -144,7 +144,8 @@ namespace __gnu_cxx
while (__first != __last)
*__first++ = __value++;
}
-} // namespace __gnu_cxx
+
+_GLIBCXX_END_NAMESPACE
#endif