Skip to content

Commit 6ba774f

Browse files
authored
Merge 2018-06 LWG Motion 18
Fixes #2135
2 parents 7e1d19c + bf1b191 commit 6ba774f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/containers.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2965,17 +2965,17 @@
29652965
template<class T, size_t N> struct array;
29662966

29672967
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);
29692969
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);
29712971
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);
29732973
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);
29752975
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);
29772977
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);
29792979
template<class T, size_t N>
29802980
void swap(array<T, N>& x, array<T, N>& y) noexcept(noexcept(x.swap(y)));
29812981

0 commit comments

Comments
 (0)