+2015-08-03 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/67078
+ * include/bits/range_access.h (size, empty, data): Fix _N bad name.
+
2015-07-30 Jonathan Wakely <jwakely@redhat.com>
* testsuite/experimental/filesystem/operations/current_path.cc: Use
* @brief Return the size of an array.
* @param __array Array.
*/
- template <typename _Tp, size_t _N>
+ template <typename _Tp, size_t _Nm>
constexpr size_t
- size(const _Tp (&/*__array*/)[_N]) noexcept
- { return _N; }
+ size(const _Tp (&/*__array*/)[_Nm]) noexcept
+ { return _Nm; }
/**
* @brief Return whether a container is empty.
* @brief Return whether an array is empty (always false).
* @param __array Container.
*/
- template <typename _Tp, size_t _N>
+ template <typename _Tp, size_t _Nm>
constexpr bool
- empty(const _Tp (&/*__array*/)[_N]) noexcept
+ empty(const _Tp (&/*__array*/)[_Nm]) noexcept
{ return false; }
/**
* @brief Return the data pointer of an array.
* @param __array Array.
*/
- template <typename _Tp, size_t _N>
+ template <typename _Tp, size_t _Nm>
constexpr _Tp*
- data(_Tp (&__array)[_N]) noexcept
+ data(_Tp (&__array)[_Nm]) noexcept
{ return __array; }
/**