|
2934 | 2934 | template<class T, size_t N> struct array;
|
2935 | 2935 |
|
2936 | 2936 | template<class T, size_t N>
|
2937 |
| - bool operator==(const array<T, N>& x, const array<T, N>& y); |
| 2937 | + constexpr bool operator==(const array<T, N>& x, const array<T, N>& y); |
2938 | 2938 | template<class T, size_t N>
|
2939 |
| - bool operator!=(const array<T, N>& x, const array<T, N>& y); |
| 2939 | + constexpr bool operator!=(const array<T, N>& x, const array<T, N>& y); |
2940 | 2940 | template<class T, size_t N>
|
2941 |
| - bool operator< (const array<T, N>& x, const array<T, N>& y); |
| 2941 | + constexpr bool operator< (const array<T, N>& x, const array<T, N>& y); |
2942 | 2942 | template<class T, size_t N>
|
2943 |
| - bool operator> (const array<T, N>& x, const array<T, N>& y); |
| 2943 | + constexpr bool operator> (const array<T, N>& x, const array<T, N>& y); |
2944 | 2944 | template<class T, size_t N>
|
2945 |
| - bool operator<=(const array<T, N>& x, const array<T, N>& y); |
| 2945 | + constexpr bool operator<=(const array<T, N>& x, const array<T, N>& y); |
2946 | 2946 | template<class T, size_t N>
|
2947 |
| - bool operator>=(const array<T, N>& x, const array<T, N>& y); |
| 2947 | + constexpr bool operator>=(const array<T, N>& x, const array<T, N>& y); |
2948 | 2948 | template<class T, size_t N>
|
2949 | 2949 | void swap(array<T, N>& x, array<T, N>& y) noexcept(noexcept(x.swap(y)));
|
2950 | 2950 |
|
|
0 commit comments