tmp/tmp446db744/{from.md → to.md}
RENAMED
|
@@ -7,25 +7,27 @@
|
|
| 7 |
namespace std {
|
| 8 |
// [forward.list], class template forward_list
|
| 9 |
template<class T, class Allocator = allocator<T>> class forward_list;
|
| 10 |
|
| 11 |
template<class T, class Allocator>
|
| 12 |
-
bool operator==(const forward_list<T, Allocator>& x,
|
|
|
|
| 13 |
template<class T, class Allocator>
|
| 14 |
-
synth-three-way-result<T>
|
| 15 |
-
|
|
|
|
| 16 |
|
| 17 |
template<class T, class Allocator>
|
| 18 |
-
void swap(forward_list<T, Allocator>& x, forward_list<T, Allocator>& y)
|
| 19 |
noexcept(noexcept(x.swap(y)));
|
| 20 |
|
| 21 |
// [forward.list.erasure], erasure
|
| 22 |
-
template<class T, class Allocator, class U>
|
| 23 |
-
typename forward_list<T, Allocator>::size_type
|
| 24 |
erase(forward_list<T, Allocator>& c, const U& value);
|
| 25 |
template<class T, class Allocator, class Predicate>
|
| 26 |
-
typename forward_list<T, Allocator>::size_type
|
| 27 |
erase_if(forward_list<T, Allocator>& c, Predicate pred);
|
| 28 |
|
| 29 |
namespace pmr {
|
| 30 |
template<class T>
|
| 31 |
using forward_list = std::forward_list<T, polymorphic_allocator<T>>;
|
|
|
|
| 7 |
namespace std {
|
| 8 |
// [forward.list], class template forward_list
|
| 9 |
template<class T, class Allocator = allocator<T>> class forward_list;
|
| 10 |
|
| 11 |
template<class T, class Allocator>
|
| 12 |
+
constexpr bool operator==(const forward_list<T, Allocator>& x,
|
| 13 |
+
const forward_list<T, Allocator>& y);
|
| 14 |
template<class T, class Allocator>
|
| 15 |
+
constexpr synth-three-way-result<T>
|
| 16 |
+
operator<=>(const forward_list<T, Allocator>& x,
|
| 17 |
+
const forward_list<T, Allocator>& y);
|
| 18 |
|
| 19 |
template<class T, class Allocator>
|
| 20 |
+
constexpr void swap(forward_list<T, Allocator>& x, forward_list<T, Allocator>& y)
|
| 21 |
noexcept(noexcept(x.swap(y)));
|
| 22 |
|
| 23 |
// [forward.list.erasure], erasure
|
| 24 |
+
template<class T, class Allocator, class U = T>
|
| 25 |
+
constexpr typename forward_list<T, Allocator>::size_type
|
| 26 |
erase(forward_list<T, Allocator>& c, const U& value);
|
| 27 |
template<class T, class Allocator, class Predicate>
|
| 28 |
+
constexpr typename forward_list<T, Allocator>::size_type
|
| 29 |
erase_if(forward_list<T, Allocator>& c, Predicate pred);
|
| 30 |
|
| 31 |
namespace pmr {
|
| 32 |
template<class T>
|
| 33 |
using forward_list = std::forward_list<T, polymorphic_allocator<T>>;
|