Skip to content

Commit 5b2b40e

Browse files
author
3836425+corob-msft@users.noreply.github.com
committed
Bulk fix pipe entities 4 of n
1 parent 655ddff commit 5b2b40e

9 files changed

Lines changed: 53 additions & 50 deletions

‎docs/cpp/declspec.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The extended attribute syntax for specifying storage-class information uses the
3838
 **`novtable`**\
3939
 **`no_sanitize_address`**\
4040
 **`process`**\
41-
 **`property(`** { **`get=`**_get-func-name_ | **`,put=`**_put-func-name_ } **`)`**\
41+
 **`property(`** { **`get=`**_get-func-name_ \| **`,put=`**_put-func-name_ } **`)`**\
4242
 **`restrict`**\
4343
 **`safebuffers`**\
4444
 **`selectany`**\

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: "Logical OR operator: ||"
2+
title: "Logical OR operator: ||"
33
description: "The C++ standard language logical OR operator syntax and use."
44
ms.date: 07/23/2020
55
f1_keywords: ["||", "or_cpp"]
66
helpviewer_keywords: ["OR operator [C++], logical", "|| operator", "OR operator", "logical OR operator"]
77
ms.assetid: 31837c99-2655-4bf3-8ded-f13b7a9dc533
88
---
9-
# Logical OR operator: ||
9+
# Logical OR operator: `||`
1010

1111
## Syntax
1212

@@ -28,7 +28,7 @@ printf( "%d" , (x == w || x == y || x == z) );
2828
2929
In the above example, if `x` is equal to either `w`, `y`, or `z`, the second argument to the `printf` function evaluates to **`true`**, which is then promoted to an integer, and the value 1 is printed. Otherwise, it evaluates to **`false`** and the value 0 is printed. As soon as one of the conditions evaluates to **`true`**, evaluation stops.
3030
31-
## Operator keyword for ||
31+
## Operator keyword for `||`
3232
3333
C++ specifies **`or`** as an alternative spelling for **`||`**. In C, the alternative spelling is provided as a macro in the \<iso646.h> header. In C++, the alternative spelling is a keyword; use of \<iso646.h> or the C++ equivalent \<ciso646> is deprecated. In Microsoft C++, the [`/permissive-`](../build/reference/permissive-standards-conformance.md) or [`/Za`](../build/reference/za-ze-disable-language-extensions.md) compiler option is required to enable the alternative spelling.
3434

‎docs/cpp/operator-overloading.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ The name of an overloaded operator is **`operator`** *x*, where *x* is the opera
6363
|**[ ]**|Array subscript|—|
6464
|**^**|Exclusive OR|Binary|
6565
|**^=**|Exclusive OR assignment|Binary|
66-
|**&#124;**|Bitwise inclusive OR|Binary|
67-
|**&#124;=**|Bitwise inclusive OR assignment|Binary|
68-
|**&#124;&#124;**|Logical OR|Binary|
66+
|**\|**|Bitwise inclusive OR|Binary|
67+
|**\|=**|Bitwise inclusive OR assignment|Binary|
68+
|**\|\|**|Logical OR|Binary|
6969
|**~**|One's complement|Unary|
7070
|**`delete`**|Delete|—|
7171
|**`new`**|New|—|

‎docs/cpp/semantics-of-expressions.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ An expression can modify an object's value only once between consecutive "sequen
8585

8686
The C++ language definition does not currently specify sequence points. Microsoft C++ uses the same sequence points as ANSI C for any expression involving C operators and not involving overloaded operators. When operators are overloaded, the semantics change from operator sequencing to function-call sequencing. Microsoft C++ uses the following sequence points:
8787

88-
- Left operand of the logical AND operator (&&). The left operand of the logical AND operator is completely evaluated and all side effects completed before continuing. There is no guarantee that the right operand of the logical AND operator will be evaluated.
88+
- Left operand of the logical AND operator (`&&`). The left operand of the logical AND operator is completely evaluated and all side effects completed before continuing. There's no guarantee that the right operand of the logical AND operator will be evaluated.
8989

90-
- Left operand of the logical OR operator (&#124;&#124;). The left operand of the logical OR operator is completely evaluated and all side effects completed before continuing. There is no guarantee that the right operand of the logical OR operator will be evaluated.
90+
- Left operand of the logical OR operator (`||`). The left operand of the logical OR operator is completely evaluated and all side effects completed before continuing. There's no guarantee that the right operand of the logical OR operator will be evaluated.
9191

9292
- Left operand of the comma operator. The left operand of the comma operator is completely evaluated and all side effects completed before continuing. Both operands of the comma operator are always evaluated.
9393

‎docs/cppcx/compiler-and-linker-options-c-cx.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The %LIBPATH% environment variable specifies the default path to search for .win
2626
|Option|Description|
2727
|------------|-----------------|
2828
|/APPCONTAINER[:NO]|Marks the executable as runnable in the appcontainer (only).|
29-
|/WINMD[:{NO&#124;ONLY}]|Emits a .winmd file and an associated binary file. This option must be passed to the linker for a .winmd to be emitted.<br /><br /> **NO**—Doesn't emit a .winmd file, but does emit a binary file.<br /><br /> **ONLY**—Emits a .winmd file, but doesn't emit a binary file.|
29+
|/WINMD[:{NO\|ONLY}]|Emits a .winmd file and an associated binary file. This option must be passed to the linker for a .winmd to be emitted.<br /><br /> **NO**—Doesn't emit a .winmd file, but does emit a binary file.<br /><br /> **ONLY**—Emits a .winmd file, but doesn't emit a binary file.|
3030
|/WINMDFILE:*filename*|The name of the .winmd file to emit, instead of the default .winmd file name. If multiple file names are specified on the command line, the last name is used.|
3131
|/WINMDDELAYSIGN[:NO]|Partially signs the .winmd file and places the public key in the binary.<br /><br /> **NO**—(Default) Doesn't sign the .winmd file.<br /><br /> /WINMDDELAYSIGN has no effect unless /WINMDKEYFILE or /WINMDKEYCONTAINER is also specified.|
3232
|/WINMDKEYCONTAINER:*name*|Specifies a key container to sign an assembly. The *name* parameter corresponds to the key container that's used to sign the metadata file.|

‎docs/dotnet/hosting-a-windows-form-user-control-in-an-mfc-dialog-box.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ MFC hosts a Windows Forms control as a special kind of ActiveX control and commu
2222

2323
## Reference
2424

25-
[CWinFormsControl Class](../mfc/reference/cwinformscontrol-class.md) &#124; [CDialog Class](../mfc/reference/cdialog-class.md) &#124; [CWnd Class](../mfc/reference/cwnd-class.md) &#124; <xref:System.Windows.Forms.Control>
25+
[`CWinFormsControl` Class](../mfc/reference/cwinformscontrol-class.md)\
26+
[`CDialog` Class](../mfc/reference/cdialog-class.md)\
27+
[`CWnd` Class](../mfc/reference/cwnd-class.md)\
28+
<xref:System.Windows.Forms.Control>
2629

2730
## See also
2831

‎docs/dotnet/how-to-define-and-consume-enums-in-cpp-cli.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,20 @@ a and day2 are the same
7373

7474
The following operators are valid on enums in C++/CLI:
7575

76-
|Operator|
77-
|--------------|
78-
|== != \< > \<= >=|
79-
|+ -|
80-
|&#124; ^ & ~|
81-
|++ --|
82-
|sizeof|
76+
| Operator |
77+
|--|
78+
| `==` `!=` `<` `>` `<=` `>=` |
79+
| `+` `-` |
80+
| `|` `^` `&` `~` |
81+
| `++` `--` |
82+
| `sizeof` |
8383

84-
Operators &#124; ^ & ~ ++ -- are defined only for enumerations with integral underlying types, not including bool. Both operands must be of the enumeration type.
84+
Operators `|`, `^`, `&`, `~`, `++`, and `--` are defined only for enumerations with integral underlying types, not including `bool`. Both operands must be of the enumeration type.
8585

8686
The compiler does no static or dynamic checking of the result of an enum operation; an operation may result in a value not in the range of the enum's valid enumerators.
8787

8888
> [!NOTE]
89-
> C++11 introduces enum class types in unmanaged code which are significantly different than managed enum classes in C++/CLI. In particular, the C++11 enum class type does not support the same operators as the managed enum class type in C++/CLI, and C++/CLI source code must provide an accessibility specifier in managed enum class declarations in order to distinguish them from unmanaged (C++11) enum class declarations. For more information about enum classes in C++/CLI, C++/CX, and C++11, see [enum class](../extensions/enum-class-cpp-component-extensions.md).
89+
> C++11 introduces `enum class` types in unmanaged code which are significantly different than managed `enum class` types in C++/CLI. In particular, the C++11 `enum class` type does not support the same operators as the managed `enum class` type in C++/CLI, and C++/CLI source code must provide an accessibility specifier in managed enum class declarations in order to distinguish them from unmanaged (C++11) `enum class` declarations. For more information about `enum class` use in C++/CLI, C++/CX, and C++11, see [enum class](../extensions/enum-class-cpp-component-extensions.md).
9090

9191
```cpp
9292
// mcppv2_enum_5.cpp

‎docs/dotnet/user-defined-operators-cpp-cli.md‎

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -27,35 +27,35 @@ In a value type, one of the parameters of a static user-defined operator must be
2727

2828
You can define the following operators:
2929

30-
|Operator|Unary/Binary Forms?|
31-
|--------------|--------------------------|
32-
|!|Unary|
33-
|!=|Binary|
34-
|%|Binary|
35-
|&|Unary and Binary|
36-
|&&|Binary|
37-
|*|Unary and Binary|
38-
|+|Unary and Binary|
39-
|++|Unary|
40-
|,|Binary|
41-
|-|Unary and Binary|
42-
|--|Unary|
43-
|->|Unary|
44-
|/|Binary|
45-
|<|Binary|
46-
|<<|Binary|
47-
|\<=|Binary|
48-
|=|Binary|
49-
|==|Binary|
50-
|>|Binary|
51-
|>=|Binary|
52-
|>>|Binary|
53-
|^|Binary|
54-
|false|Unary|
55-
|true|Unary|
56-
|&#124;|Binary|
57-
|&#124;&#124;|Binary|
58-
|~|Unary|
30+
| Operator | Unary/Binary Forms? |
31+
|--|--|
32+
| `!` | Unary |
33+
| `!=` | Binary |
34+
| `%` | Binary |
35+
| `&` | Unary and Binary |
36+
| `&&` | Binary |
37+
| `*` | Unary and Binary |
38+
| `+` | Unary and Binary |
39+
| `++` | Unary |
40+
| `,` | Binary |
41+
| `-` | Unary and Binary |
42+
| `--` | Unary |
43+
| `->` | Unary |
44+
| `/` | Binary |
45+
| `<` | Binary |
46+
| `<<` | Binary |
47+
| `<=` | Binary |
48+
| `=` | Binary |
49+
| `==` | Binary |
50+
| `>` | Binary |
51+
| `>=` | Binary |
52+
| `>>` | Binary |
53+
| `^` | Binary |
54+
| `false` | Unary |
55+
| `true` | Unary |
56+
| `|` | Binary |
57+
| `||` | Binary |
58+
| `~` | Unary |
5959

6060
## Example: User-defined operators
6161

‎docs/error-messages/compiler-warnings/compiler-warning-c4746.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 5e79ab46-6031-499a-a986-716c866b6c0e
88
---
99
# Compiler Warning C4746
1010

11-
volatile access of '\<expression>' is subject to /volatile:[iso&#124;ms] setting; consider using __iso_volatile_load/store intrinsic functions.
11+
volatile access of '\<expression>' is subject to /volatile:[iso\|ms] setting; consider using __iso_volatile_load/store intrinsic functions.
1212

1313
C4746 is emitted whenever a volatile variable is accessed directly. It is intended to help developers identify code locations that are affected by the specific volatile model currently specified (which can be controlled with the [/volatile](../../build/reference/volatile-volatile-keyword-interpretation.md) compiler option). In particular, it can be useful in locating compiler-generated hardware memory barriers when /volatile:ms is used.
1414

0 commit comments

Comments
 (0)