Skip to content

Commit 4a1e10f

Browse files
authored
Merge pull request #5439 from Rageking8/join-code-blocks-that-are-split-into-lines
Join code blocks that are split into lines
2 parents fbec39e + 1eb4484 commit 4a1e10f

File tree

2 files changed

+41
-45
lines changed

2 files changed

+41
-45
lines changed

docs/mfc/reference/crgn-class.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -609,17 +609,14 @@ int GetRgnBox(LPRECT lpRect) const;
609609
*lpRect*<br/>
610610
Points to a `RECT` structure or `CRect` object to receive the coordinates of the bounding rectangle. The `RECT` structure has the following form:
611611

612-
`typedef struct tagRECT {`
613-
614-
`int left;`
615-
616-
`int top;`
617-
618-
`int right;`
619-
620-
`int bottom;`
621-
622-
`} RECT;`
612+
```cpp
613+
typedef struct tagRECT {
614+
int left;
615+
int top;
616+
int right;
617+
int bottom;
618+
} RECT;
619+
```
623620
624621
### Return Value
625622

docs/standard-library/unordered-set-operators.md

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,36 @@
11
---
2-
description: "Learn more about: <unordered_set> operators"
32
title: "<unordered_set> operators"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: <unordered_set> operators"
4+
ms.date: 11/04/2016
55
f1_keywords: ["unordered_set/std::operator!=", "unordered_set/std::operator=="]
6-
ms.assetid: 8653eea6-12f2-4dd7-aa2f-db38a71599a0
76
---
87
# `<unordered_set>` operators
98

10-
## <a name="op_neq"></a> operator!=
9+
The `<unordered_set>` header provides the following operators:
10+
11+
## <a name="op_neq"></a> `operator!=`
1112

12-
Tests whether the [unordered_set](../standard-library/unordered-set-class.md) object on the left side of the operator is not equal to the unordered_set object on the right side.
13+
Tests whether the [`unordered_set`](unordered-set-class.md) object on the left side of the operator is not equal to the `unordered_set` object on the right side.
1314

1415
```cpp
1516
bool operator!=(const unordered_set <Key, Hash, Pred, Allocator>& left, const unordered_set <Key, Hash, Pred, Allocator>& right);
1617
```
1718

1819
### Parameters
1920

20-
*left*\
21+
*`left`*\
2122
An object of type `unordered_set`.
2223

23-
*right*\
24+
*`right`*\
2425
An object of type `unordered_set`.
2526

2627
### Return Value
2728

28-
**`true`** if the unordered_sets are not equal; **`false`** if they are equal.
29+
**`true`** if the `unordered_set`s are not equal; **`false`** if they are equal.
2930

3031
### Remarks
3132

32-
The comparison between unordered_set objects is not affected by the arbitrary order in which they store their elements. Two unordered_sets are equal if they have the same number of elements and the elements in one container are a permutation of the elements in the other container. Otherwise, they are unequal.
33+
The comparison between `unordered_set` objects is not affected by the arbitrary order in which they store their elements. Two `unordered_set`s are equal if they have the same number of elements and the elements in one container are a permutation of the elements in the other container. Otherwise, they are unequal.
3334

3435
### Example
3536

@@ -67,37 +68,35 @@ int main()
6768
}
6869
```
6970

70-
**Output:**
71-
72-
`c1 != c2: true`
73-
74-
`c1 != c3: false`
75-
76-
`c2 != c3: true`
71+
```Output
72+
c1 != c2: true
73+
c1 != c3: false
74+
c2 != c3: true
75+
```
7776

78-
## <a name="op_eq_eq"></a> operator==
77+
## <a name="op_eq_eq"></a> `operator==`
7978

80-
Tests whether the [unordered_set](../standard-library/unordered-set-class.md) object on the left side of the operator is equal to the unordered_set object on the right side.
79+
Tests whether the [`unordered_set`](unordered-set-class.md) object on the left side of the operator is equal to the `unordered_set` object on the right side.
8180

8281
```cpp
8382
bool operator==(const unordered_set <Key, Hash, Pred, Allocator>& left, const unordered_set <Key, Hash, Pred, Allocator>& right);
8483
```
8584

8685
### Parameters
8786

88-
*left*\
87+
*`left`*\
8988
An object of type `unordered_set`.
9089

91-
*right*\
90+
*`right`*\
9291
An object of type `unordered_set`.
9392

9493
### Return Value
9594

96-
**`true`** if the unordered_sets are equal; **`false`** if they are not equal.
95+
**`true`** if the `unordered_set`s are equal; **`false`** if they are not equal.
9796

9897
### Remarks
9998

100-
The comparison between unordered_set objects is not affected by the arbitrary order in which they store their elements. Two unordered_sets are equal if they have the same number of elements and the elements in one container are a permutation of the elements in the other container. Otherwise, they are unequal.
99+
The comparison between `unordered_set` objects is not affected by the arbitrary order in which they store their elements. Two `unordered_set`s are equal if they have the same number of elements and the elements in one container are a permutation of the elements in the other container. Otherwise, they are unequal.
101100

102101
### Example
103102

@@ -141,29 +140,29 @@ c1 == c3: true
141140
c2 == c3: false
142141
```
143142

144-
## <a name="op_neq_unordered_multiset"></a> operator!= (multiset)
143+
## <a name="op_neq_unordered_multiset"></a> `operator!=` (multiset)
145144

146-
Tests whether the [unordered_multiset](../standard-library/unordered-multiset-class.md) object on the left side of the operator is not equal to the unordered_multiset object on the right side.
145+
Tests whether the [`unordered_multiset`](unordered-multiset-class.md) object on the left side of the operator is not equal to the `unordered_multiset` object on the right side.
147146

148147
```cpp
149148
bool operator!=(const unordered_multiset <Key, Hash, Pred, Allocator>& left, const unordered_multiset <Key, Hash, Pred, Allocator>& right);
150149
```
151150

152151
### Parameters
153152

154-
*left*\
153+
*`left`*\
155154
An object of type `unordered_multiset`.
156155

157-
*right*\
156+
*`right`*\
158157
An object of type `unordered_multiset`.
159158

160159
### Return Value
161160

162-
**`true`** if the unordered_multisets are not equal; **`false`** if they are equal.
161+
**`true`** if the `unordered_multiset`s are not equal; **`false`** if they are equal.
163162

164163
### Remarks
165164

166-
The comparison between unordered_multiset objects is not affected by the arbitrary order in which they store their elements. Two unordered_multisets are equal if they have the same number of elements and the elements in one container are a permutation of the elements in the other container. Otherwise, they are unequal.
165+
The comparison between `unordered_multiset` objects is not affected by the arbitrary order in which they store their elements. Two `unordered_multiset`s are equal if they have the same number of elements and the elements in one container are a permutation of the elements in the other container. Otherwise, they are unequal.
167166

168167
### Example
169168

@@ -210,29 +209,29 @@ c1 != c3: false
210209
c2 != c3: true
211210
```
212211

213-
## <a name="op_eq_eq_unordered_multiset"></a> operator== (multiset)
212+
## <a name="op_eq_eq_unordered_multiset"></a> `operator==` (multiset)
214213

215-
Tests whether the [unordered_multiset](../standard-library/unordered-multiset-class.md) object on the left side of the operator is equal to the unordered_multiset object on the right side.
214+
Tests whether the [`unordered_multiset`](unordered-multiset-class.md) object on the left side of the operator is equal to the `unordered_multiset` object on the right side.
216215

217216
```cpp
218217
bool operator==(const unordered_multiset <Key, Hash, Pred, Allocator>& left, const unordered_multiset <Key, Hash, Pred, Allocator>& right);
219218
```
220219

221220
### Parameters
222221

223-
*left*\
222+
*`left`*\
224223
An object of type `unordered_multiset`.
225224

226-
*right*\
225+
*`right`*\
227226
An object of type `unordered_multiset`.
228227

229228
### Return Value
230229

231-
**`true`** if the unordered_multisets are equal; **`false`** if they are not equal.
230+
**`true`** if the `unordered_multiset`s are equal; **`false`** if they are not equal.
232231

233232
### Remarks
234233

235-
The comparison between unordered_multiset objects is not affected by the arbitrary order in which they store their elements. Two unordered_multisets are equal if they have the same number of elements and the elements in one container are a permutation of the elements in the other container. Otherwise, they are unequal.
234+
The comparison between `unordered_multiset` objects is not affected by the arbitrary order in which they store their elements. Two `unordered_multiset`s are equal if they have the same number of elements and the elements in one container are a permutation of the elements in the other container. Otherwise, they are unequal.
236235

237236
### Example
238237

0 commit comments

Comments
 (0)