tmp/tmpsr8psuyj/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Header `<array>` synopsis <a id="array.syn">[[array.syn]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
#include <initializer_list>
|
| 5 |
+
|
| 6 |
+
namespace std {
|
| 7 |
+
// [array], class template array
|
| 8 |
+
template <class T, size_t N> struct array;
|
| 9 |
+
template <class T, size_t N>
|
| 10 |
+
bool operator==(const array<T, N>& x, const array<T, N>& y);
|
| 11 |
+
template <class T, size_t N>
|
| 12 |
+
bool operator!=(const array<T, N>& x, const array<T, N>& y);
|
| 13 |
+
template <class T, size_t N>
|
| 14 |
+
bool operator< (const array<T, N>& x, const array<T, N>& y);
|
| 15 |
+
template <class T, size_t N>
|
| 16 |
+
bool operator> (const array<T, N>& x, const array<T, N>& y);
|
| 17 |
+
template <class T, size_t N>
|
| 18 |
+
bool operator<=(const array<T, N>& x, const array<T, N>& y);
|
| 19 |
+
template <class T, size_t N>
|
| 20 |
+
bool operator>=(const array<T, N>& x, const array<T, N>& y);
|
| 21 |
+
template <class T, size_t N>
|
| 22 |
+
void swap(array<T, N>& x, array<T, N>& y) noexcept(noexcept(x.swap(y)));
|
| 23 |
+
|
| 24 |
+
template <class T> class tuple_size;
|
| 25 |
+
template <size_t I, class T> class tuple_element;
|
| 26 |
+
template <class T, size_t N>
|
| 27 |
+
struct tuple_size<array<T, N>>;
|
| 28 |
+
template <size_t I, class T, size_t N>
|
| 29 |
+
struct tuple_element<I, array<T, N>>;
|
| 30 |
+
template <size_t I, class T, size_t N>
|
| 31 |
+
constexpr T& get(array<T, N>&) noexcept;
|
| 32 |
+
template <size_t I, class T, size_t N>
|
| 33 |
+
constexpr T&& get(array<T, N>&&) noexcept;
|
| 34 |
+
template <size_t I, class T, size_t N>
|
| 35 |
+
constexpr const T& get(const array<T, N>&) noexcept;
|
| 36 |
+
template <size_t I, class T, size_t N>
|
| 37 |
+
constexpr const T&& get(const array<T, N>&&) noexcept;
|
| 38 |
+
}
|
| 39 |
+
```
|
| 40 |
+
|