// <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
/**
* @brief Return an iterator pointing to the first element of
* the const container.
- * @param cont Container.
+ * @param __cont Container.
*/
template<class _Container>
inline auto
/**
* @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
/**
* @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
/**
* @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*
/**
* @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