]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/bits/range_access.h
Update copyright years in libstdc++-v3/
[thirdparty/gcc.git] / libstdc++-v3 / include / bits / range_access.h
index 5c898efa9f69d9d01b75aebe5e7a21ed3e7e5ed8..b70f997b4c65f00e7e4a1e9000aa1226cba6d7dd 100644 (file)
@@ -1,6 +1,6 @@
 // <range_access.h> -*- C++ -*-
 
-// Copyright (C) 2010 Free Software Foundation, Inc.
+// Copyright (C) 2010-2014 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
 
 #pragma GCC system_header
 
-#ifdef __GXX_EXPERIMENTAL_CXX0X__
+#if __cplusplus >= 201103L
 
-_GLIBCXX_BEGIN_NAMESPACE(std)
+namespace std _GLIBCXX_VISIBILITY(default)
+{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
 
   /**
    *  @brief  Return an iterator pointing to the first element of
    *          the container.
-   *  @param  cont  Container.
+   *  @param  __cont  Container.
    */
   template<class _Container>
     inline auto
@@ -49,7 +51,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
   /**
    *  @brief  Return an iterator pointing to the first element of
    *          the const container.
-   *  @param  cont  Container.
+   *  @param  __cont  Container.
    */
   template<class _Container>
     inline auto
@@ -59,7 +61,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
   /**
    *  @brief  Return an iterator pointing to one past the last element of
    *          the container.
-   *  @param  cont  Container.
+   *  @param  __cont  Container.
    */
   template<class _Container>
     inline auto
@@ -69,7 +71,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
   /**
    *  @brief  Return an iterator pointing to one past the last element of
    *          the const container.
-   *  @param  cont  Container.
+   *  @param  __cont  Container.
    */
   template<class _Container>
     inline auto
@@ -78,7 +80,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
 
   /**
    *  @brief  Return an iterator pointing to the first element of the array.
-   *  @param  arr  Array.
+   *  @param  __arr  Array.
    */
   template<class _Tp, size_t _Nm>
     inline _Tp*
@@ -88,15 +90,16 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
   /**
    *  @brief  Return an iterator pointing to one past the last element
    *          of the array.
-   *  @param  arr  Array.
+   *  @param  __arr  Array.
    */
   template<class _Tp, size_t _Nm>
     inline _Tp*
     end(_Tp (&__arr)[_Nm])
     { return __arr + _Nm; }
 
-_GLIBCXX_END_NAMESPACE
+_GLIBCXX_END_NAMESPACE_VERSION
+} // namespace
 
-#endif // __GXX_EXPERIMENTAL_CXX0X__
+#endif // C++11
 
 #endif // _GLIBCXX_RANGE_ACCESS_H