tmp/tmp8d1ix5wv/{from.md → to.md}
RENAMED
|
@@ -1,29 +1,32 @@
|
|
| 1 |
### Header `<vector>` synopsis <a id="vector.syn">[[vector.syn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
#include <
|
|
|
|
| 5 |
|
| 6 |
namespace std {
|
| 7 |
// [vector], class template vector
|
| 8 |
template<class T, class Allocator = allocator<T>> class vector;
|
|
|
|
| 9 |
template<class T, class Allocator>
|
| 10 |
-
bool operator==(const vector<T, Allocator>& x, const vector<T, Allocator>& y);
|
| 11 |
template<class T, class Allocator>
|
| 12 |
-
|
|
|
|
|
|
|
| 13 |
template<class T, class Allocator>
|
| 14 |
-
|
| 15 |
-
template <class T, class Allocator>
|
| 16 |
-
bool operator> (const vector<T, Allocator>& x, const vector<T, Allocator>& y);
|
| 17 |
-
template <class T, class Allocator>
|
| 18 |
-
bool operator>=(const vector<T, Allocator>& x, const vector<T, Allocator>& y);
|
| 19 |
-
template <class T, class Allocator>
|
| 20 |
-
bool operator<=(const vector<T, Allocator>& x, const vector<T, Allocator>& y);
|
| 21 |
-
template <class T, class Allocator>
|
| 22 |
-
void swap(vector<T, Allocator>& x, vector<T, Allocator>& y)
|
| 23 |
noexcept(noexcept(x.swap(y)));
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
// [vector.bool], class vector<bool>
|
| 26 |
template<class Allocator> class vector<bool, Allocator>;
|
| 27 |
|
| 28 |
// hash support
|
| 29 |
template<class T> struct hash;
|
|
|
|
| 1 |
### Header `<vector>` synopsis <a id="vector.syn">[[vector.syn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
#include <compare> // see [compare.syn]
|
| 5 |
+
#include <initializer_list> // see [initializer.list.syn]
|
| 6 |
|
| 7 |
namespace std {
|
| 8 |
// [vector], class template vector
|
| 9 |
template<class T, class Allocator = allocator<T>> class vector;
|
| 10 |
+
|
| 11 |
template<class T, class Allocator>
|
| 12 |
+
constexpr bool operator==(const vector<T, Allocator>& x, const vector<T, Allocator>& y);
|
| 13 |
template<class T, class Allocator>
|
| 14 |
+
constexpr synth-three-way-result<T> operator<=>(const vector<T, Allocator>& x,
|
| 15 |
+
\itcorr const vector<T, Allocator>& y);
|
| 16 |
+
|
| 17 |
template<class T, class Allocator>
|
| 18 |
+
constexpr void swap(vector<T, Allocator>& x, vector<T, Allocator>& y)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
noexcept(noexcept(x.swap(y)));
|
| 20 |
|
| 21 |
+
template<class T, class Allocator, class U>
|
| 22 |
+
constexpr typename vector<T, Allocator>::size_type
|
| 23 |
+
erase(vector<T, Allocator>& c, const U& value);
|
| 24 |
+
template<class T, class Allocator, class Predicate>
|
| 25 |
+
constexpr typename vector<T, Allocator>::size_type
|
| 26 |
+
erase_if(vector<T, Allocator>& c, Predicate pred);
|
| 27 |
+
|
| 28 |
// [vector.bool], class vector<bool>
|
| 29 |
template<class Allocator> class vector<bool, Allocator>;
|
| 30 |
|
| 31 |
// hash support
|
| 32 |
template<class T> struct hash;
|