|
2965 | 2965 | template<class T, size_t N> struct array;
|
2966 | 2966 |
|
2967 | 2967 | template<class T, size_t N>
|
2968 |
| - bool operator==(const array<T, N>& x, const array<T, N>& y); |
| 2968 | + constexpr bool operator==(const array<T, N>& x, const array<T, N>& y); |
2969 | 2969 | template<class T, size_t N>
|
2970 |
| - bool operator!=(const array<T, N>& x, const array<T, N>& y); |
| 2970 | + constexpr bool operator!=(const array<T, N>& x, const array<T, N>& y); |
2971 | 2971 | template<class T, size_t N>
|
2972 |
| - bool operator< (const array<T, N>& x, const array<T, N>& y); |
| 2972 | + constexpr bool operator< (const array<T, N>& x, const array<T, N>& y); |
2973 | 2973 | template<class T, size_t N>
|
2974 |
| - bool operator> (const array<T, N>& x, const array<T, N>& y); |
| 2974 | + constexpr bool operator> (const array<T, N>& x, const array<T, N>& y); |
2975 | 2975 | template<class T, size_t N>
|
2976 |
| - bool operator<=(const array<T, N>& x, const array<T, N>& y); |
| 2976 | + constexpr bool operator<=(const array<T, N>& x, const array<T, N>& y); |
2977 | 2977 | template<class T, size_t N>
|
2978 |
| - bool operator>=(const array<T, N>& x, const array<T, N>& y); |
| 2978 | + constexpr bool operator>=(const array<T, N>& x, const array<T, N>& y); |
2979 | 2979 | template<class T, size_t N>
|
2980 | 2980 | void swap(array<T, N>& x, array<T, N>& y) noexcept(noexcept(x.swap(y)));
|
2981 | 2981 |
|
|
0 commit comments