Init
This commit is contained in:
94
cppdraft/queue/ops.md
Normal file
94
cppdraft/queue/ops.md
Normal file
@@ -0,0 +1,94 @@
|
||||
[queue.ops]
|
||||
|
||||
# 23 Containers library [[containers]](./#containers)
|
||||
|
||||
## 23.6 Container adaptors [[container.adaptors]](container.adaptors#queue.ops)
|
||||
|
||||
### 23.6.3 Class template queue [[queue]](queue#ops)
|
||||
|
||||
#### 23.6.3.5 Operators [queue.ops]
|
||||
|
||||
[ð](#lib:operator==,queue)
|
||||
|
||||
`template<class T, class Container>
|
||||
constexpr bool operator==(const queue<T, Container>& x, const queue<T, Container>& y);
|
||||
`
|
||||
|
||||
[1](#1)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L15892)
|
||||
|
||||
*Returns*: x.c == y.c[.](#1.sentence-1)
|
||||
|
||||
[ð](#lib:operator!=,queue)
|
||||
|
||||
`template<class T, class Container>
|
||||
constexpr bool operator!=(const queue<T, Container>& x, const queue<T, Container>& y);
|
||||
`
|
||||
|
||||
[2](#2)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L15904)
|
||||
|
||||
*Returns*: x.c != y.c[.](#2.sentence-1)
|
||||
|
||||
[ð](#lib:operator%3c,queue)
|
||||
|
||||
`template<class T, class Container>
|
||||
constexpr bool operator< (const queue<T, Container>& x, const queue<T, Container>& y);
|
||||
`
|
||||
|
||||
[3](#3)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L15916)
|
||||
|
||||
*Returns*: x.c < y.c[.](#3.sentence-1)
|
||||
|
||||
[ð](#lib:operator%3e,queue)
|
||||
|
||||
`template<class T, class Container>
|
||||
constexpr bool operator> (const queue<T, Container>& x, const queue<T, Container>& y);
|
||||
`
|
||||
|
||||
[4](#4)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L15928)
|
||||
|
||||
*Returns*: x.c > y.c[.](#4.sentence-1)
|
||||
|
||||
[ð](#lib:operator%3c=,queue)
|
||||
|
||||
`template<class T, class Container>
|
||||
constexpr bool operator<=(const queue<T, Container>& x, const queue<T, Container>& y);
|
||||
`
|
||||
|
||||
[5](#5)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L15940)
|
||||
|
||||
*Returns*: x.c <= y.c[.](#5.sentence-1)
|
||||
|
||||
[ð](#lib:operator%3e=,queue)
|
||||
|
||||
`template<class T, class Container>
|
||||
constexpr bool operator>=(const queue<T, Container>& x, const queue<T, Container>& y);
|
||||
`
|
||||
|
||||
[6](#6)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L15952)
|
||||
|
||||
*Returns*: x.c >= y.c[.](#6.sentence-1)
|
||||
|
||||
[ð](#lib:operator%3c=%3e,queue)
|
||||
|
||||
`template<class T, [three_way_comparable](cmp.concept#concept:three_way_comparable "17.12.4 Concept three_way_comparable [cmp.concept]") Container>
|
||||
constexpr compare_three_way_result_t<Container>
|
||||
operator<=>(const queue<T, Container>& x, const queue<T, Container>& y);
|
||||
`
|
||||
|
||||
[7](#7)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L15965)
|
||||
|
||||
*Returns*: x.c <=> y.c[.](#7.sentence-1)
|
||||
Reference in New Issue
Block a user