diff --git a/docs/mfc/reference/crgn-class.md b/docs/mfc/reference/crgn-class.md index d0cadf2e71..6568c4df1c 100644 --- a/docs/mfc/reference/crgn-class.md +++ b/docs/mfc/reference/crgn-class.md @@ -609,17 +609,14 @@ int GetRgnBox(LPRECT lpRect) const; *lpRect*
Points to a `RECT` structure or `CRect` object to receive the coordinates of the bounding rectangle. The `RECT` structure has the following form: -`typedef struct tagRECT {` - -`int left;` - -`int top;` - -`int right;` - -`int bottom;` - -`} RECT;` +```cpp +typedef struct tagRECT { + int left; + int top; + int right; + int bottom; +} RECT; +``` ### Return Value diff --git a/docs/standard-library/unordered-set-operators.md b/docs/standard-library/unordered-set-operators.md index 1d57b37d00..ee5bc48f7d 100644 --- a/docs/standard-library/unordered-set-operators.md +++ b/docs/standard-library/unordered-set-operators.md @@ -1,15 +1,16 @@ --- -description: "Learn more about: operators" title: " operators" -ms.date: "11/04/2016" +description: "Learn more about: operators" +ms.date: 11/04/2016 f1_keywords: ["unordered_set/std::operator!=", "unordered_set/std::operator=="] -ms.assetid: 8653eea6-12f2-4dd7-aa2f-db38a71599a0 --- # `` operators -## operator!= +The `` header provides the following operators: + +## `operator!=` -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. +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. ```cpp bool operator!=(const unordered_set & left, const unordered_set & right); @@ -17,19 +18,19 @@ bool operator!=(const unordered_set & left, const un ### Parameters -*left*\ +*`left`*\ An object of type `unordered_set`. -*right*\ +*`right`*\ An object of type `unordered_set`. ### Return Value -**`true`** if the unordered_sets are not equal; **`false`** if they are equal. +**`true`** if the `unordered_set`s are not equal; **`false`** if they are equal. ### Remarks -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. +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. ### Example @@ -67,17 +68,15 @@ int main() } ``` -**Output:** - -`c1 != c2: true` - -`c1 != c3: false` - -`c2 != c3: true` +```Output +c1 != c2: true +c1 != c3: false +c2 != c3: true +``` -## operator== +## `operator==` -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. +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. ```cpp bool operator==(const unordered_set & left, const unordered_set & right); @@ -85,19 +84,19 @@ bool operator==(const unordered_set & left, const un ### Parameters -*left*\ +*`left`*\ An object of type `unordered_set`. -*right*\ +*`right`*\ An object of type `unordered_set`. ### Return Value -**`true`** if the unordered_sets are equal; **`false`** if they are not equal. +**`true`** if the `unordered_set`s are equal; **`false`** if they are not equal. ### Remarks -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. +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. ### Example @@ -141,9 +140,9 @@ c1 == c3: true c2 == c3: false ``` -## operator!= (multiset) +## `operator!=` (multiset) -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. +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. ```cpp bool operator!=(const unordered_multiset & left, const unordered_multiset & right); @@ -151,19 +150,19 @@ bool operator!=(const unordered_multiset & left, con ### Parameters -*left*\ +*`left`*\ An object of type `unordered_multiset`. -*right*\ +*`right`*\ An object of type `unordered_multiset`. ### Return Value -**`true`** if the unordered_multisets are not equal; **`false`** if they are equal. +**`true`** if the `unordered_multiset`s are not equal; **`false`** if they are equal. ### Remarks -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. +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. ### Example @@ -210,9 +209,9 @@ c1 != c3: false c2 != c3: true ``` -## operator== (multiset) +## `operator==` (multiset) -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. +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. ```cpp bool operator==(const unordered_multiset & left, const unordered_multiset & right); @@ -220,19 +219,19 @@ bool operator==(const unordered_multiset & left, con ### Parameters -*left*\ +*`left`*\ An object of type `unordered_multiset`. -*right*\ +*`right`*\ An object of type `unordered_multiset`. ### Return Value -**`true`** if the unordered_multisets are equal; **`false`** if they are not equal. +**`true`** if the `unordered_multiset`s are equal; **`false`** if they are not equal. ### Remarks -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. +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. ### Example