tmp/tmp808vjwe3/{from.md → to.md}
RENAMED
|
@@ -7,27 +7,32 @@
|
|
| 7 |
namespace std {
|
| 8 |
// [stack], class template stack
|
| 9 |
template<class T, class Container = deque<T>> class stack;
|
| 10 |
|
| 11 |
template<class T, class Container>
|
| 12 |
-
bool operator==(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 13 |
template<class T, class Container>
|
| 14 |
-
bool operator!=(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 15 |
template<class T, class Container>
|
| 16 |
-
bool operator< (const stack<T, Container>& x, const stack<T, Container>& y);
|
| 17 |
template<class T, class Container>
|
| 18 |
-
bool operator> (const stack<T, Container>& x, const stack<T, Container>& y);
|
| 19 |
template<class T, class Container>
|
| 20 |
-
bool operator<=(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 21 |
template<class T, class Container>
|
| 22 |
-
bool operator>=(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 23 |
template<class T, three_way_comparable Container>
|
| 24 |
-
compare_three_way_result_t<Container>
|
| 25 |
operator<=>(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 26 |
|
| 27 |
template<class T, class Container>
|
| 28 |
-
void swap(stack<T, Container>& x, stack<T, Container>& y)
|
|
|
|
| 29 |
template<class T, class Container, class Alloc>
|
| 30 |
struct uses_allocator<stack<T, Container>, Alloc>;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
}
|
| 32 |
```
|
| 33 |
|
|
|
|
| 7 |
namespace std {
|
| 8 |
// [stack], class template stack
|
| 9 |
template<class T, class Container = deque<T>> class stack;
|
| 10 |
|
| 11 |
template<class T, class Container>
|
| 12 |
+
constexpr bool operator==(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 13 |
template<class T, class Container>
|
| 14 |
+
constexpr bool operator!=(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 15 |
template<class T, class Container>
|
| 16 |
+
constexpr bool operator< (const stack<T, Container>& x, const stack<T, Container>& y);
|
| 17 |
template<class T, class Container>
|
| 18 |
+
constexpr bool operator> (const stack<T, Container>& x, const stack<T, Container>& y);
|
| 19 |
template<class T, class Container>
|
| 20 |
+
constexpr bool operator<=(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 21 |
template<class T, class Container>
|
| 22 |
+
constexpr bool operator>=(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 23 |
template<class T, three_way_comparable Container>
|
| 24 |
+
constexpr compare_three_way_result_t<Container>
|
| 25 |
operator<=>(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 26 |
|
| 27 |
template<class T, class Container>
|
| 28 |
+
constexpr void swap(stack<T, Container>& x, stack<T, Container>& y)
|
| 29 |
+
noexcept(noexcept(x.swap(y)));
|
| 30 |
template<class T, class Container, class Alloc>
|
| 31 |
struct uses_allocator<stack<T, Container>, Alloc>;
|
| 32 |
+
|
| 33 |
+
// [container.adaptors.format], formatter specialization for stack
|
| 34 |
+
template<class charT, class T, formattable<charT> Container>
|
| 35 |
+
struct formatter<stack<T, Container>, charT>;
|
| 36 |
}
|
| 37 |
```
|
| 38 |
|