Skip to content

Commit 9271243

Browse files
authored
Make built-in operators title consistent (#4963)
1 parent c748c53 commit 9271243

23 files changed

+69
-69
lines changed

docs/cpp/additive-operators-plus-and.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ f1_keywords: ["+", "-"]
66
helpviewer_keywords: ["operators [C++], addition", "subtraction operator [C++], additive operators", "+ operator [C++], additive operators", "additive operators [C++]", "arithmetic operators [C++], additive operators", "- operator [C++], additive operators in C++"]
77
ms.assetid: d4afafe7-e201-4c69-a649-37f17756e784
88
---
9-
# Additive Operators: + and -
9+
# Additive Operators: `+` and `-`
1010

1111
## Syntax
1212

@@ -102,6 +102,6 @@ One of the operands can be of integral type, as long as it is the second operand
102102

103103
## See also
104104

105-
[Expressions with Binary Operators](../cpp/expressions-with-binary-operators.md)<br/>
106-
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
105+
[Expressions with Binary Operators](../cpp/expressions-with-binary-operators.md)\
106+
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
107107
[C Additive Operators](../c-language/c-additive-operators.md)

docs/cpp/assignment-operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,6 @@ In ANSI C, the result of an assignment expression isn't an l-value. That means t
168168

169169
## See also
170170

171-
[Expressions with binary operators](../cpp/expressions-with-binary-operators.md)<br/>
172-
[C++ built-in operators, precedence, and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
171+
[Expressions with binary operators](../cpp/expressions-with-binary-operators.md)\
172+
[C++ built-in operators, precedence, and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
173173
[C assignment operators](../c-language/c-assignment-operators.md)

docs/cpp/bitwise-exclusive-or-operator-hat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ f1_keywords: ["xor_cpp", "^"]
66
helpviewer_keywords: ["operators [C++], bitwise", "exclusive OR operator", "XOR operator", "bitwise operators [C++], OR operator", "^ operator", "OR operator [C++], bitwise exclusive", "operators [C++], logical"]
77
ms.assetid: f9185d85-65d5-4f64-a6d6-679758d52217
88
---
9-
# Bitwise exclusive OR operator: ^
9+
# Bitwise exclusive OR operator: `^`
1010

1111
## Syntax
1212

docs/cpp/bitwise-inclusive-or-operator-pipe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ int main() {
4141

4242
## See also
4343

44-
[C++ built-in operators, precedence, and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
44+
[C++ built-in operators, precedence, and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
4545
[C bitwise operators](../c-language/c-bitwise-operators.md)

docs/cpp/comma-operator.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ f1_keywords: ["%2C"]
66
helpviewer_keywords: ["comma operator"]
77
ms.assetid: 38e0238e-19da-42ba-ae62-277bfdab6090
88
---
9-
# Comma Operator: ,
9+
# Comma Operator: `,`
1010

1111
Allows grouping two statements where one is expected.
1212

@@ -55,6 +55,6 @@ int main () {
5555

5656
## See also
5757

58-
[Expressions with Binary Operators](../cpp/expressions-with-binary-operators.md)<br/>
59-
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
58+
[Expressions with Binary Operators](../cpp/expressions-with-binary-operators.md)\
59+
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
6060
[Sequential-Evaluation Operator](../c-language/sequential-evaluation-operator.md)

docs/cpp/conditional-operator-q.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ int main() {
6363

6464
## See also
6565

66-
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
66+
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
6767
[Conditional-Expression Operator](../c-language/conditional-expression-operator.md)

docs/cpp/equality-operators-equal-equal-and-exclpt-equal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ f1_keywords: ["!=", "==", "not_eq_cpp"]
66
helpviewer_keywords: ["!= operator", "equality operator", "not equal to comparison operator", "equality operator [C++], syntax", "== operator", "not_eq operator", "equal to operator"]
77
ms.assetid: ba4e9659-2392-4fb4-be5a-910a2a6df45a
88
---
9-
# Equality operators: == and !=
9+
# Equality operators: `==` and `!=`
1010

1111
## Syntax
1212

@@ -47,6 +47,6 @@ Equality operators can compare pointers to members of the same type. In such a c
4747

4848
## See also
4949

50-
[Expressions with binary operators](../cpp/expressions-with-binary-operators.md)<br/>
51-
[C++ built-in operators, precedence; and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
50+
[Expressions with binary operators](../cpp/expressions-with-binary-operators.md)\
51+
[C++ built-in operators, precedence; and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
5252
[C relational and equality operators](../c-language/c-relational-and-equality-operators.md)

docs/cpp/explicit-type-conversion-operator-parens.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.date: "11/04/2016"
55
helpviewer_keywords: ["explicit data type conversion operator", "conversions [C++], explicit", "operators [C++], explicit type conversion", "data type conversion [C++], explicit", "type conversion [C++], explicit conversions"]
66
ms.assetid: 54272006-5ffb-45ed-8283-27152ab97529
77
---
8-
# Explicit Type Conversion Operator: ()
8+
# Explicit Type Conversion Operator: `()`
99

1010
C++ allows explicit type conversion using syntax similar to the function-call syntax.
1111

@@ -117,5 +117,5 @@ Type definition within casts is illegal.
117117
118118
## See also
119119
120-
[Postfix Expressions](../cpp/postfix-expressions.md)<br/>
120+
[Postfix Expressions](../cpp/postfix-expressions.md)\
121121
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)

docs/cpp/function-call-operator-parens.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ helpviewer_keywords: ["( ) function call operator", "function calls, C++ functio
66
ms.assetid: 50c92e59-a4bf-415a-a6ab-d66c679ee80a
77
no-loc: [ opt ]
88
---
9-
# Function Call Operator: ()
9+
# Function Call Operator: `()`
1010

1111
A function call is a kind of *`postfix-expression`*, formed by an expression that evaluates to a function or callable object followed by the function-call operator, **`()`**. An object can declare an `operator ()` function, which provides function call semantics for the object.
1212

@@ -172,6 +172,6 @@ Functions can be called recursively. For more information about function declara
172172
173173
## See also
174174
175-
[Postfix expressions](../cpp/postfix-expressions.md)<br/>
176-
[C++ built-in operators, precedence, and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
175+
[Postfix expressions](../cpp/postfix-expressions.md)\
176+
[C++ built-in operators, precedence, and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
177177
[Function call](../c-language/function-call-c.md)

docs/cpp/indirection-operator-star.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.date: "11/04/2016"
55
helpviewer_keywords: ["* operator", "indirection operator", "operators [C++], indirection", "indirection operator [C++], syntax"]
66
ms.assetid: c50309e1-6c02-4184-9fcb-2e13c1f4ac03
77
---
8-
# Indirection Operator: *
8+
# Indirection Operator: `*`
99

1010
## Syntax
1111

@@ -15,7 +15,7 @@ ms.assetid: c50309e1-6c02-4184-9fcb-2e13c1f4ac03
1515

1616
## Remarks
1717

18-
The unary indirection operator (<strong>\*</strong>) dereferences a pointer; that is, it converts a pointer value to an l-value. The operand of the indirection operator must be a pointer to a type. The result of the indirection expression is the type from which the pointer type is derived. The use of the <strong>\*</strong> operator in this context is different from its meaning as a binary operator, which is multiplication.
18+
The unary indirection operator (**`*`**) dereferences a pointer; that is, it converts a pointer value to an l-value. The operand of the indirection operator must be a pointer to a type. The result of the indirection expression is the type from which the pointer type is derived. The use of the **`*`** operator in this context is different from its meaning as a binary operator, which is multiplication.
1919

2020
If the operand points to a function, the result is a function designator. If it points to a storage location, the result is an l-value designating the storage location.
2121

@@ -53,7 +53,7 @@ If the pointer value is invalid, the result is undefined. The following list inc
5353

5454
## See also
5555

56-
[Expressions with Unary Operators](../cpp/expressions-with-unary-operators.md)<br/>
57-
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
58-
[Address-of Operator: &](../cpp/address-of-operator-amp.md)<br/>
56+
[Expressions with Unary Operators](../cpp/expressions-with-unary-operators.md)\
57+
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
58+
[Address-of Operator: &](../cpp/address-of-operator-amp.md)\
5959
[Indirection and Address-of Operators](../c-language/indirection-and-address-of-operators.md)

docs/cpp/logical-negation-operator-exclpt.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ f1_keywords: ["!"]
66
helpviewer_keywords: ["! operator", "NOT operator", "logical negation"]
77
ms.assetid: 650add9f-a7bc-426c-b01d-5fc6a81c8b62
88
---
9-
# Logical negation operator: !
9+
# Logical negation operator: `!`
1010

1111
## Syntax
1212

@@ -39,6 +39,6 @@ int main() {
3939

4040
## See also
4141

42-
[Expressions with unary operators](../cpp/expressions-with-unary-operators.md)<br/>
43-
[C++ built-in operators, precedence, and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
44-
[Unary arithmetic operators](../c-language/unary-arithmetic-operators.md)<br/>
42+
[Expressions with unary operators](../cpp/expressions-with-unary-operators.md)\
43+
[C++ built-in operators, precedence, and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
44+
[Unary arithmetic operators](../c-language/unary-arithmetic-operators.md)

docs/cpp/logical-or-operator-pipe-pipe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ int main() {
5454

5555
## See also
5656

57-
[C++ built-in operators, precedence, and associativity](cpp-built-in-operators-precedence-and-associativity.md)<br/>
57+
[C++ built-in operators, precedence, and associativity](cpp-built-in-operators-precedence-and-associativity.md)\
5858
[C logical operators](../c-language/c-logical-operators.md)

docs/cpp/multiplicative-operators-and-the-modulus-operator.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ expression % expression
2020

2121
The multiplicative operators are:
2222

23-
- Multiplication (<strong>\*</strong>)
23+
- Multiplication (**`*`**)
2424

25-
- Division (**/**)
25+
- Division (**`/`**)
2626

27-
- Modulus (remainder from division) (**%**)
27+
- Modulus (remainder from division) (**`%`**)
2828

2929
These binary operators have left-to-right associativity.
3030

@@ -78,6 +78,6 @@ int main() {
7878

7979
## See also
8080

81-
[Expressions with Binary Operators](../cpp/expressions-with-binary-operators.md)<br/>
82-
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
81+
[Expressions with Binary Operators](../cpp/expressions-with-binary-operators.md)\
82+
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
8383
[C Multiplicative Operators](../c-language/c-multiplicative-operators.md)

docs/cpp/one-s-complement-operator-tilde.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ f1_keywords: ["~", "compl_cpp"]
66
helpviewer_keywords: ["tilde (~) one's complement operator", "one's complement operator", "bitwise-complement operator", "compl operator", "~ operator [C++], syntax"]
77
ms.assetid: 4bf81967-34f7-4b4b-aade-fd03d5da0174
88
---
9-
# One's complement operator: ~
9+
# One's complement operator: `~`
1010

1111
## Syntax
1212

@@ -45,6 +45,6 @@ Integral promotion is performed on integral operands. The type the operand is pr
4545

4646
## See also
4747

48-
[Expressions with unary operators](expressions-with-unary-operators.md)<br/>
49-
[C++ built-in operators, precedence, and associativity](cpp-built-in-operators-precedence-and-associativity.md)<br/>
48+
[Expressions with unary operators](expressions-with-unary-operators.md)\
49+
[C++ built-in operators, precedence, and associativity](cpp-built-in-operators-precedence-and-associativity.md)\
5050
[Unary arithmetic operators](../c-language/unary-arithmetic-operators.md)

docs/cpp/postfix-increment-and-decrement-operators-increment-and-decrement.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ f1_keywords: ["--", "++"]
66
helpviewer_keywords: ["increment operators [C++], syntax", "member-selection operators [C++]", "-- operator [C++], postfix decrement operators", "postfix operators [C++]", "++ operator [C++], postfix increment operators", "decrement operators [C++], syntax", "operators [C++], postfix", "decrement operators [C++]"]
77
ms.assetid: 0204d5c8-51b0-4108-b8a1-074c5754d89c
88
---
9-
# Postfix Increment and Decrement Operators: ++ and --
9+
# Postfix Increment and Decrement Operators: `++` and `--`
1010

1111
## Syntax
1212

@@ -23,7 +23,7 @@ C++ provides prefix and postfix increment and decrement operators; this section
2323
i++;
2424
```
2525

26-
The effect of applying the postfix increment operator (**++**) is that the operand's value is increased by one unit of the appropriate type. Similarly, the effect of applying the postfix decrement operator (**--**) is that the operand's value is decreased by one unit of the appropriate type.
26+
The effect of applying the postfix increment operator (**`++`**) is that the operand's value is increased by one unit of the appropriate type. Similarly, the effect of applying the postfix decrement operator (**`--`**) is that the operand's value is decreased by one unit of the appropriate type.
2727

2828
It is important to note that a postfix increment or decrement expression evaluates to the value of the expression *prior to* application of the respective operator. The increment or decrement operation occurs *after* the operand is evaluated. This issue arises only when the postfix increment or decrement operation occurs in the context of a larger expression.
2929

@@ -60,6 +60,6 @@ for( myCompass = North; myCompass != West; myCompass++ ) // Error
6060
6161
## See also
6262
63-
[Postfix Expressions](../cpp/postfix-expressions.md)<br/>
64-
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
63+
[Postfix Expressions](../cpp/postfix-expressions.md)\
64+
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
6565
[C Postfix Increment and Decrement Operators](../c-language/c-postfix-increment-and-decrement-operators.md)

docs/cpp/prefix-increment-and-decrement-operators-increment-and-decrement.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ f1_keywords: ["--", "++"]
66
helpviewer_keywords: ["increment operators [C++], syntax", "++ operator [C++], prefix increment operators", "operators [C++], decrement", "-- operator [C++], prefix decrement operators [C++]", "operators [C++], increment", "decrement operators [C++], syntax", "decrement operators [C++]"]
77
ms.assetid: 45ea7fc7-f279-4be9-a216-1d9a0ef9eb7b
88
---
9-
# Prefix Increment and Decrement Operators: ++ and --
9+
# Prefix Increment and Decrement Operators: `++` and `--`
1010

1111
## Syntax
1212

@@ -17,9 +17,9 @@ ms.assetid: 45ea7fc7-f279-4be9-a216-1d9a0ef9eb7b
1717

1818
## Remarks
1919

20-
The prefix increment operator (**++**) adds one to its operand; this incremented value is the result of the expression. The operand must be an l-value not of type **`const`**. The result is an l-value of the same type as the operand.
20+
The prefix increment operator (**`++`**) adds one to its operand; this incremented value is the result of the expression. The operand must be an l-value not of type **`const`**. The result is an l-value of the same type as the operand.
2121

22-
The prefix decrement operator (**--**) is analogous to the prefix increment operator, except that the operand is decremented by one and the result is this decremented value.
22+
The prefix decrement operator (**`--`**) is analogous to the prefix increment operator, except that the operand is decremented by one and the result is this decremented value.
2323

2424
**Visual Studio 2017 version 15.3 and later** (available in [`/std:c++17`](../build/reference/std-specify-language-standard-version.md) mode and later): The operand of an increment or decrement operator may not be of type **`bool`**.
2525

@@ -66,6 +66,6 @@ If `i` is greater than or equal to `j` or less than `j` by 1, it will be increme
6666
6767
## See also
6868

69-
[Expressions with Unary Operators](../cpp/expressions-with-unary-operators.md)<br/>
70-
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
69+
[Expressions with Unary Operators](../cpp/expressions-with-unary-operators.md)\
70+
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
7171
[Prefix Increment and Decrement Operators](../c-language/prefix-increment-and-decrement-operators.md)

docs/cpp/relational-operators-equal-and-equal.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ expression >= expression
2121

2222
The binary relational operators determine the following relationships:
2323

24-
- Less than (**\<**)
24+
- Less than (**`<`**)
2525

26-
- Greater than (**>**)
26+
- Greater than (**`>`**)
2727

28-
- Less than or equal to (**\<=**)
28+
- Less than or equal to (**`<=`**)
2929

30-
- Greater than or equal to (**>=**)
30+
- Greater than or equal to (**`>=`**)
3131

3232
The relational operators have left-to-right associativity. Both operands of relational operators must be of arithmetic or pointer type. They yield values of type **`bool`**. The value returned is **`false`** (0) if the relationship in the expression is false; otherwise, the value returned is **`true`** (1).
3333

@@ -48,7 +48,7 @@ int main() {
4848
}
4949
```
5050

51-
The expressions in the preceding example must be enclosed in parentheses because the stream insertion operator (**<<**) has higher precedence than the relational operators. Therefore, the first expression without the parentheses would be evaluated as:
51+
The expressions in the preceding example must be enclosed in parentheses because the stream insertion operator (**`<<`**) has higher precedence than the relational operators. Therefore, the first expression without the parentheses would be evaluated as:
5252

5353
```cpp
5454
(cout << "The true expression 3 > 2 yields: " << 3) < (2 << "\n");
@@ -78,6 +78,6 @@ If two pointers point to elements of the same array or to the element one beyond
7878

7979
## See also
8080

81-
[Expressions with Binary Operators](../cpp/expressions-with-binary-operators.md)<br/>
82-
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
81+
[Expressions with Binary Operators](../cpp/expressions-with-binary-operators.md)\
82+
[C++ Built-in Operators, Precedence and Associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
8383
[C Relational and Equality Operators](../c-language/c-relational-and-equality-operators.md)

docs/cpp/scope-resolution-operator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,5 @@ int main() {
168168

169169
## See also
170170

171-
[C++ built-in operators, precedence, and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)<br/>
171+
[C++ built-in operators, precedence, and associativity](../cpp/cpp-built-in-operators-precedence-and-associativity.md)\
172172
[Namespaces](../cpp/namespaces-cpp.md)

docs/cpp/sizeof-operator.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ f1_keywords: ["sizeof_cpp"]
66
helpviewer_keywords: ["sizeof operator"]
77
ms.assetid: 8bc3b6fb-54a1-4eb7-ada0-05f8c5efc532
88
---
9-
# sizeof Operator
9+
# `sizeof` Operator
1010

1111
Yields the size of its operand with respect to the size of type **`char`**.
1212

@@ -17,7 +17,7 @@ Yields the size of its operand with respect to the size of type **`char`**.
1717

1818
```
1919
sizeof unary-expression
20-
sizeof ( type-name )
20+
sizeof ( type-name )
2121
```
2222

2323
## Remarks
@@ -98,5 +98,5 @@ sizeof array / sizeof array[0]
9898

9999
## See also
100100

101-
[Expressions with Unary Operators](../cpp/expressions-with-unary-operators.md)<br/>
101+
[Expressions with Unary Operators](../cpp/expressions-with-unary-operators.md)\
102102
[Keywords](../cpp/keywords-cpp.md)

0 commit comments

Comments
 (0)