@@ -19,7 +19,7 @@ namespace boost {
1919 template<typename T, std::size_t N> class array;
2020
2121 template<typename T, std::size_t N>
22- constexpr void swap(array<T, N>&, array<T, N>&);
22+ void swap(array<T, N>&, array<T, N>&);
2323
2424 template<typename T, std::size_t N>
2525 constexpr bool operator==(const array<T, N>&, const array<T, N>&);
@@ -120,7 +120,7 @@ public:
120120
121121 // modifiers
122122
123- constexpr void swap(array<T, N>&);
123+ swap(array<T, N>&);
124124
125125 constexpr void fill(const T&);
126126 void assign(const T&); // deprecated
@@ -290,10 +290,10 @@ Remarks: :: This function is deprecated. Use `data()` instead.
290290### Modifiers
291291
292292```
293- constexpr void swap(array<T, N>& other);
293+ void swap(array<T, N>& other);
294294```
295295[horizontal]
296- Effects: :: for each `i` in `[0..N)`, calls ` swap(elems[i] , other.elems[i] )`.
296+ Effects: :: `std:: swap(elems, other.elems)`.
297297Complexity: :: linear in `N`.
298298
299299---
@@ -319,7 +319,7 @@ Remarks: :: An obsolete and deprecated spelling of `fill`. Use `fill` instead.
319319
320320```
321321template<typename T, std::size_t N>
322- constexpr void swap(array<T, N>& x, array<T, N>& y);
322+ void swap(array<T, N>& x, array<T, N>& y);
323323```
324324[horizontal]
325325Effects: :: `x.swap(y)`.
0 commit comments