Skip to content

Commit 2b56594

Browse files
TaojunshenColin RobertsonTylerMSFTPRMerger15jpmorgan-atMS
authored
9/23/2021 AM Publish (#3794)
* draft fix * fix for github #3346 * Document MASM instruction format including prefixes and option avxencoding (#3199) * Document instruction format including prefixes and option avxencoding * Add description to microsoft-macro-assembler-reference * Revise to improve Acrolinx scores * Further refinement for Acrolinx * Still more changes to improve Acrolinx scores * A few minor tweaks * Update TOC for new content * tweak formatting Co-authored-by: [email protected] <[email protected]> * add links to ID2D1DCRenderTarget * change to relative links * remove global state reference * tighten up struct tm * fix formatting * new local_info_struct & sys_info_struct plus updates (#3762) * new local_info_struct & sys_info_struct plus updates * acrolinx * finish draft of local_info and sys_info, and update time_zone with an example of how to get one * fix typos * stash work so far on zoned_time class * draft stub * fix merge conflicts * tech review * add choose-enum, more zoned_time class work * draft zoned_time * read through fixes * acrolinx * cleanup * a little word smithing * tech review * acrolinx and last of tech review Co-authored-by: TylerMSFT <[email protected]> * Update issue templates Added C++23 new issue template * Fix Intel CET doc link per 3360 Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: PRMerger15 <[email protected]> Co-authored-by: jpmorgan-atMS <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Dennis Rea <[email protected]> Co-authored-by: PRMerger17 <[email protected]> Co-authored-by: Tyler Whitney <[email protected]>
1 parent 8e39a05 commit 2b56594

30 files changed

+1090
-230
lines changed

.github/ISSUE_TEMPLATE/new-c---2020-stl-library-documentation-topic-.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
name: 'New C++ 2020 STL library documentation topic '
33
about: Create a C++ 2020 doc tracking work item
44
title: ''
5-
labels: STL doc work, C++20
5+
labels: C++20, STL doc work
66
assignees: ''
7-
milestone: backlog
8-
project: C++20
7+
98
---
109

1110
ISO paper for this feature: [PaperID]()
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: New C++ 2023 STL library documentation topic
3+
about: Create an issue to track C++ 2023 STL doc work
4+
title: ''
5+
labels: C++23
6+
assignees: ''
7+
8+
---
9+
10+
ISO paper for this feature: [PaperID](http link to iso paper)
11+
First implemented in: VS 20YY major.minor

docs/build/reference/cetcompat.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Learn more about: /CETCOMPAT (CET Shadow Stack compatible)"
33
title: "/CETCOMPAT (CET Shadow Stack compatible)"
4-
ms.date: "09/01/2020"
4+
ms.date: 09/22/2021
55
f1_keywords: ["/CETCOMPAT"]
66
helpviewer_keywords: ["/CETCOMPAT linker option", "/CETCOMPAT"]
77
---
@@ -21,7 +21,7 @@ Specifies that the executable shouldn't be marked compatible with CET Shadow Sta
2121

2222
## Remarks
2323

24-
Control-flow Enforcement Technology (CET) Shadow Stack is a computer processor feature that provides capabilities to defend against return-oriented programming (ROP) based malware attacks. For more information, see [Intel Control-flow Enforcement Technology Preview](https://software.intel.com/sites/default/files/managed/4d/2a/control-flow-enforcement-technology-preview.pdf).
24+
Control-flow Enforcement Technology (CET) Shadow Stack is a computer processor feature. It provides capabilities to defend against return-oriented programming (ROP) based malware attacks. For more information, see [A Technical Look at Intel’s Control-flow Enforcement Technology](https://software.intel.com/content/www/us/en/develop/articles/technical-look-control-flow-enforcement-technology.html).
2525

2626
The **`/CETCOMPAT`** linker option tells the linker to mark the binary as CET Shadow Stack-compatible. **`/CETCOMPAT:NO`** marks the binary as not compatible with CET Shadow Stack. If both options are specified on the command line, the last one specified is used. This switch is currently only applicable to x86 and x64 architectures.
2727

@@ -37,7 +37,7 @@ Starting in Visual Studio 2019 version 16.7:
3737

3838
1. Select the **CET Shadow Stack Compatible** property.
3939

40-
1. In the dropdown control, choose **`Yes (/CETCOMPAT)`** to mark the binary as CET Shadow Stack compatible , or **`No (/CETCOMPAT:NO)`** to mark it as non-compatible.
40+
1. In the dropdown control, choose **`Yes (/CETCOMPAT)`** to mark the binary as CET Shadow Stack compatible, or **`No (/CETCOMPAT:NO)`** to mark it as non-compatible.
4141

4242
In previous versions of Visual Studio 2019:
4343

docs/c-runtime-library/reference/mkgmtime-mkgmtime32-mkgmtime64.md

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
---
22
title: "_mkgmtime, _mkgmtime32, _mkgmtime64"
33
description: "Describes the _mkgmtime, _mkgmtime32, and _mkgmtime64 C Runtime library functions, and gives examples of how to use them."
4-
ms.date: "4/2/2020"
4+
ms.date: 09/22/2021
55
api_name: ["_mkgmtime32", "_mkgmtime64", "_mkgmtime", "_o__mkgmtime32", "_o__mkgmtime64"]
66
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-time-l1-1-0.dll", "api-ms-win-crt-private-l1-1-0.dll"]
77
api_type: ["DLLExport"]
88
topic_type: ["apiref"]
99
f1_keywords: ["_mkgmtime64", "mkgmtime32", "_mkgmtime32", "mkgmtime", "mkgmtime64", "_mkgmtime"]
1010
helpviewer_keywords: ["mkgmtime32 function", "time functions", "mkgmtime function", "_mkgmtime function", "converting times", "mkgmtime64 function", "_mkgmtime64 function", "_mkgmtime32 function", "time, converting"]
11-
ms.assetid: b4ca2b67-e198-4f43-b3e2-e8ad6bd01867
1211
---
13-
# _mkgmtime, _mkgmtime32, _mkgmtime64
12+
# `_mkgmtime`, `_mkgmtime32`, `_mkgmtime64`
1413

15-
Converts a UTC time represented by a **`struct`** **tm** to a UTC time represented by a **time_t** type.
14+
Converts a UTC time represented by a **`struct tm`** to a UTC time represented by a **`time_t`** type.
1615

1716
## Syntax
1817

@@ -30,26 +29,24 @@ __time64_t _mkgmtime64(
3029

3130
### Parameters
3231

33-
*timeptr*\
34-
A pointer to the UTC time as a **`struct`** **tm** to convert.
32+
*`timeptr`*\
33+
A pointer to the UTC time as a **`struct tm`** to convert.
3534

3635
## Return Value
3736

38-
A quantity of type **__time32_t** or **__time64_t** representing the number of seconds elapsed since midnight, January 1, 1970, in Coordinated Universal Time (UTC). If the date is out of range (see the Remarks section) or the input can't be interpreted as a valid time, the return value is -1.
37+
A quantity of type **`__time32_t`** or **`__time64_t`** representing the number of seconds elapsed since midnight, January 1, 1970, in Coordinated Universal Time (UTC). If the date is out of range (see the Remarks section) or the input can't be interpreted as a valid time, the return value is -1.
3938

4039
## Remarks
4140

42-
The **_mkgmtime32** and **_mkgmtime64** functions convert a UTC time to a **__time32_t** or **__time64_t** type representing the time in UTC. To convert a local time to UTC time, use **mktime**, **_mktime32**, and **_mktime64** instead.
41+
The **`_mkgmtime32`** and **`_mkgmtime64`** functions convert a UTC time to a **`__time32_t`** or **`__time64_t`** type representing the time in UTC. To convert a local time to UTC time, use **`mktime`**, **`_mktime32`**, and **`_mktime64`** instead.
4342

44-
**_mkgmtime** is an inline function that evaluates to **_mkgmtime64**, and **time_t** is equivalent to **__time64_t**. If you need to force the compiler to interpret **time_t** as the old 32-bit **time_t**, you can define **_USE_32BIT_TIME_T**. We don't recommend it, because your application might fail after January 18, 2038, the maximum range of a 32-bit **time_t**. It's not allowed at all on 64-bit platforms.
43+
**_mkgmtime** is an inline function that evaluates to **`_mkgmtime64`**, and **`time_t`** is equivalent to **`__time64_t`**. If you need to force the compiler to interpret **`time_t`** as the old 32-bit **`time_t`**, you can define **`_USE_32BIT_TIME_T`**. We don't recommend it, because your application might fail after January 18, 2038, the maximum range of a 32-bit **`time_t`**. It's not allowed at all on 64-bit platforms.
4544

46-
The time structure passed in is changed as follows, in the same way as it's changed by the **_mktime** functions: the **tm_wday** and **tm_yday** fields are set to new values based on the values of **tm_mday** and **tm_year**. Because the time is assumed to be UTC, the **tm_isdst** field is ignored.
45+
The time structure passed in is changed as follows, in the same way as it's changed by the **`_mktime`** functions: the **`tm_wday`** and **`tm_yday`** fields are set to new values based on the values of **`tm_mday`** and **`tm_year`**. Because the time is assumed to be UTC, the **`tm_isdst`** field is ignored.
4746

48-
The range of the **_mkgmtime32** function is from midnight, January 1, 1970, UTC to 23:59:59 January 18, 2038, UTC. The range of **_mkgmtime64** is from midnight, January 1, 1970, UTC to 23:59:59, December 31, 3000, UTC. An out-of-range date results in a return value of -1. The range of **_mkgmtime** depends on whether **_USE_32BIT_TIME_T** is defined. When it's not defined, which is the default, the range is the same as **_mkgmtime64**. Otherwise, the range is limited to the 32-bit range of **_mkgmtime32**.
47+
The range of the **`_mkgmtime32`** function is from midnight, January 1, 1970, UTC to 23:59:59 January 18, 2038, UTC. The range of **`_mkgmtime64`** is from midnight, January 1, 1970, UTC to 23:59:59, December 31, 3000, UTC. An out-of-range date results in a return value of -1. The range of **`_mkgmtime`** depends on whether **`_USE_32BIT_TIME_T`** is defined. When it's not defined, which is the default, the range is the same as **`_mkgmtime64`**. Otherwise, the range is limited to the 32-bit range of **`_mkgmtime32`**.
4948

50-
Both **gmtime** and **localtime** use a common static buffer for the conversion. If you supply this buffer to **_mkgmtime**, the previous contents are destroyed.
51-
52-
By default, this function's global state is scoped to the application. To change this, see [Global state in the CRT](../global-state.md).
49+
Both **`gmtime`** and **`localtime`** use a common static buffer for the conversion. If you supply this buffer to **`_mkgmtime`**, the previous contents are destroyed.
5350

5451
## Examples
5552

@@ -98,7 +95,7 @@ Local Time: Thu Feb 15 17:14:52 2007
9895
Greenwich Mean Time: Fri Feb 16 01:14:52 2007
9996
```
10097

101-
The following example shows how the incomplete structure is filled out by **_mkgmtime**. It computes values for both the day of the week and of the year.
98+
The following example shows how the incomplete structure is filled out by **`_mkgmtime`**. It computes values for both the day of the week and of the year.
10299

103100
```C
104101
// crt_mkgmtime2.c
@@ -145,10 +142,10 @@ t.tm_yday = 42
145142
## See also
146143

147144
[Time Management](../../c-runtime-library/time-management.md)\
148-
[asctime, _wasctime](asctime-wasctime.md)\
149-
[asctime_s, _wasctime_s](asctime-s-wasctime-s.md)\
150-
[gmtime, _gmtime32, _gmtime64](gmtime-gmtime32-gmtime64.md)\
151-
[gmtime_s, _gmtime32_s, _gmtime64_s](gmtime-s-gmtime32-s-gmtime64-s.md)\
152-
[localtime_s, _localtime32_s, _localtime64_s](localtime-s-localtime32-s-localtime64-s.md)\
153-
[mktime, _mktime32, _mktime64](mktime-mktime32-mktime64.md)\
154-
[time, _time32, _time64](time-time32-time64.md)
145+
[`asctime`, `_wasctime`](asctime-wasctime.md)\
146+
[`asctime_s`, `_wasctime_s`](asctime-s-wasctime-s.md)\
147+
[`gmtime`, `_gmtime32`, `_gmtime64`](gmtime-gmtime32-gmtime64.md)\
148+
[`gmtime_s`, `_gmtime32_s`, `_gmtime64_s`](gmtime-s-gmtime32-s-gmtime64-s.md)\
149+
[`localtime_s`, `_localtime32_s`, `_localtime64_s`](localtime-s-localtime32-s-localtime64-s.md)\
150+
[`mktime`, `_mktime32`, `_mktime64`](mktime-mktime32-mktime64.md)\
151+
[`time`, `_time32`, `_time64`](time-time32-time64.md)

docs/mfc/reference/cdcrendertarget-class.md

Lines changed: 46 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
---
22
description: "Learn more about: CDCRenderTarget Class"
33
title: "CDCRenderTarget Class"
4-
ms.date: "11/04/2016"
4+
ms.date: 09/22/2021
55
f1_keywords: ["CDCRenderTarget", "AFXRENDERTARGET/CDCRenderTarget", "AFXRENDERTARGET/CDCRenderTarget::CDCRenderTarget", "AFXRENDERTARGET/CDCRenderTarget::Attach", "AFXRENDERTARGET/CDCRenderTarget::BindDC", "AFXRENDERTARGET/CDCRenderTarget::Create", "AFXRENDERTARGET/CDCRenderTarget::Detach", "AFXRENDERTARGET/CDCRenderTarget::GetDCRenderTarget", "AFXRENDERTARGET/CDCRenderTarget::m_pDCRenderTarget"]
66
helpviewer_keywords: ["CDCRenderTarget [MFC], CDCRenderTarget", "CDCRenderTarget [MFC], Attach", "CDCRenderTarget [MFC], BindDC", "CDCRenderTarget [MFC], Create", "CDCRenderTarget [MFC], Detach", "CDCRenderTarget [MFC], GetDCRenderTarget", "CDCRenderTarget [MFC], m_pDCRenderTarget"]
7-
ms.assetid: aa8059c9-08e6-49e4-9b8c-00fa54077a61
87
---
9-
# CDCRenderTarget Class
8+
# `CDCRenderTarget` class
109

11-
A wrapper for ID2D1DCRenderTarget.
10+
A wrapper for [`ID2D1DCRenderTarget`](/windows/win32/api/d2d1/nn-d2d1-id2d1dcrendertarget).
1211

1312
## Syntax
1413

15-
```
14+
```cpp
1615
class CDCRenderTarget : public CRenderTarget;
1716
```
1817

@@ -22,43 +21,41 @@ class CDCRenderTarget : public CRenderTarget;
2221

2322
|Name|Description|
2423
|----------|-----------------|
25-
|[CDCRenderTarget::CDCRenderTarget](#cdcrendertarget)|Constructs a CDCRenderTarget object.|
24+
|[`CDCRenderTarget::CDCRenderTarget`](#cdcrendertarget)|Constructs a `CDCRenderTarget` object.|
2625

2726
### Public Methods
2827

2928
|Name|Description|
3029
|----------|-----------------|
31-
|[CDCRenderTarget::Attach](#attach)|Attaches existing render target interface to the object|
32-
|[CDCRenderTarget::BindDC](#binddc)|Binds the render target to the device context to which it issues drawing commands|
33-
|[CDCRenderTarget::Create](#create)|Creates a CDCRenderTarget.|
34-
|[CDCRenderTarget::Detach](#detach)|Detaches render target interface from the object|
35-
|[CDCRenderTarget::GetDCRenderTarget](#getdcrendertarget)|Returns ID2D1DCRenderTarget interface|
30+
|[`CDCRenderTarget::Attach`](#attach)|Attaches existing render target interface to the object|
31+
|[`CDCRenderTarget::BindDC`](#binddc)|Binds the render target to the device context to which it issues drawing commands|
32+
|[`CDCRenderTarget::Create`](#create)|Creates a `CDCRenderTarget`.|
33+
|[`CDCRenderTarget::Detach`](#detach)|Detaches render target interface from the object|
34+
|[`CDCRenderTarget::GetDCRenderTarget`](#getdcrendertarget)|Returns an [`ID2D1DCRenderTarget`](/windows/win32/api/d2d1/nn-d2d1-id2d1dcrendertarget) interface|
3635

3736
### Public Operators
3837

3938
|Name|Description|
4039
|----------|-----------------|
41-
|[CDCRenderTarget::operator ID2D1DCRenderTarget*](#operator_id2d1dcrendertarget_star)|Returns ID2D1DCRenderTarget interface|
40+
|[`CDCRenderTarget::operator ID2D1DCRenderTarget*`](#operator_id2d1dcrendertarget_star)|Returns an [`ID2D1DCRenderTarget`](/windows/win32/api/d2d1/nn-d2d1-id2d1dcrendertarget) interface|
4241

4342
### Protected Data Members
4443

4544
|Name|Description|
4645
|----------|-----------------|
47-
|[CDCRenderTarget::m_pDCRenderTarget](#m_pdcrendertarget)|A pointer to an ID2D1DCRenderTarget object.|
46+
|[CDCRenderTarget::m_pDCRenderTarget](#m_pdcrendertarget)|A pointer to an [`ID2D1DCRenderTarget`](/windows/win32/api/d2d1/nn-d2d1-id2d1dcrendertarget) object.|
4847

4948
## Inheritance Hierarchy
5049

51-
[CObject](../../mfc/reference/cobject-class.md)
52-
53-
[CRenderTarget](../../mfc/reference/crendertarget-class.md)
54-
55-
[CDCRenderTarget](../../mfc/reference/cdcrendertarget-class.md)
50+
[`CObject`](../../mfc/reference/cobject-class.md)\
51+
[`CRenderTarget`](../../mfc/reference/crendertarget-class.md)\
52+
[`CDCRenderTarget`](../../mfc/reference/cdcrendertarget-class.md)
5653

5754
## Requirements
5855

59-
**Header:** afxrendertarget.h
56+
**Header:** `afxrendertarget.h`
6057

61-
## <a name="attach"></a> CDCRenderTarget::Attach
58+
## <a name="attach"></a> `CDCRenderTarget::Attach`
6259

6360
Attaches existing render target interface to the object
6461

@@ -68,99 +65,99 @@ void Attach(ID2D1DCRenderTarget* pTarget);
6865
6966
### Parameters
7067
71-
*pTarget*<br/>
72-
Existing render target interface. Cannot be NULL
68+
*`pTarget`*\
69+
Existing render target interface. Can't be `NULL`
7370
74-
## <a name="binddc"></a> CDCRenderTarget::BindDC
71+
## <a name="binddc"></a> `CDCRenderTarget::BindDC`
7572
7673
Binds the render target to the device context to which it issues drawing commands
7774
78-
```
75+
```cpp
7976
BOOL BindDC(
8077
const CDC& dc,
8178
const CRect& rect);
8279
```
8380

8481
### Parameters
8582

86-
*dc*<br/>
83+
*`dc`*\
8784
The device context to which the render target issues drawing commands
8885

89-
*rect*<br/>
90-
The dimensions of the handle to a device context (HDC) to which the render target is bound
86+
*`rect`*\
87+
The dimensions of the handle to a device context (`HDC`) to which the render target is bound
9188

9289
### Return Value
9390

94-
If the method succeeds, it returns TRUE. Otherwise, it returns FALSE.
91+
If the method succeeds, it returns `TRUE`. Otherwise, it returns `FALSE`.
9592

96-
## <a name="cdcrendertarget"></a> CDCRenderTarget::CDCRenderTarget
93+
## <a name="cdcrendertarget"></a> `CDCRenderTarget::CDCRenderTarget`
9794

98-
Constructs a CDCRenderTarget object.
95+
Constructs a `CDCRenderTarget` object.
9996

100-
```
97+
```cpp
10198
CDCRenderTarget();
10299
```
103100

104-
## <a name="create"></a> CDCRenderTarget::Create
101+
## <a name="create"></a> `CDCRenderTarget::Create`
105102

106-
Creates a CDCRenderTarget.
103+
Creates a `CDCRenderTarget`.
107104

108-
```
105+
```cpp
109106
BOOL Create(const D2D1_RENDER_TARGET_PROPERTIES& props);
110107
```
111108
112109
### Parameters
113110
114-
*props*<br/>
111+
*`props`*\
115112
The rendering mode, pixel format, remoting options, DPI information, and the minimum DirectX support required for hardware rendering.
116113
117114
### Return Value
118115
119-
If the method succeeds, it returns TRUE. Otherwise, it returns FALSE.
116+
If the method succeeds, it returns `TRUE`. Otherwise, it returns `FALSE`.
120117
121-
## <a name="detach"></a> CDCRenderTarget::Detach
118+
## <a name="detach"></a> `CDCRenderTarget::Detach`
122119
123120
Detaches render target interface from the object
124121
125-
```
122+
```cpp
126123
ID2D1DCRenderTarget* Detach();
127124
```
128125

129126
### Return Value
130127

131128
Pointer to detached render target interface.
132129

133-
## <a name="getdcrendertarget"></a> CDCRenderTarget::GetDCRenderTarget
130+
## <a name="getdcrendertarget"></a> `CDCRenderTarget::GetDCRenderTarget`
134131

135-
Returns ID2D1DCRenderTarget interface
132+
Returns an [`ID2D1DCRenderTarget`](/windows/win32/api/d2d1/nn-d2d1-id2d1dcrendertarget)
136133

137-
```
134+
```cpp
138135
ID2D1DCRenderTarget* GetDCRenderTarget();
139136
```
140137

141138
### Return Value
142139

143-
Pointer to an ID2D1DCRenderTarget interface or NULL if object is not initialized yet.
140+
Pointer to an [`ID2D1DCRenderTarget`](/windows/win32/api/d2d1/nn-d2d1-id2d1dcrendertarget) interface or `NULL` if object isn't initialized yet.
144141

145-
## <a name="m_pdcrendertarget"></a> CDCRenderTarget::m_pDCRenderTarget
142+
## <a name="m_pdcrendertarget"></a> `CDCRenderTarget::m_pDCRenderTarget`
146143

147-
A pointer to an ID2D1DCRenderTarget object.
144+
A pointer to an [`ID2D1DCRenderTarget`](/windows/win32/api/d2d1/nn-d2d1-id2d1dcrendertarget) object.
148145

149-
```
146+
```cpp
150147
ID2D1DCRenderTarget* m_pDCRenderTarget;
151148
```
152149

153-
## <a name="operator_id2d1dcrendertarget_star"></a> CDCRenderTarget::operator ID2D1DCRenderTarget*
150+
## <a name="operator_id2d1dcrendertarget_star"></a> `CDCRenderTarget::operator ID2D1DCRenderTarget*`
154151

155-
Returns ID2D1DCRenderTarget interface
152+
Returns an [`ID2D1DCRenderTarget`](/windows/win32/api/d2d1/nn-d2d1-id2d1dcrendertarget) interface
156153

157-
```
154+
```cpp
158155
operator ID2D1DCRenderTarget*();
159156
```
160157

161158
### Return Value
162159

163-
Pointer to an ID2D1DCRenderTarget interface or NULL if object is not initialized yet.
160+
Pointer to an `[`ID2D1DCRenderTarget`](/windows/win32/api/d2d1/nn-d2d1-id2d1dcrendertarget) interface or NULL if object isn't initialized yet.
164161

165162
## See also
166163

docs/standard-library/bit-enum.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ ms.date: "08/27/2020"
55
f1_keywords: ["bit/std::endian"]
66
helpviewer_keywords: ["std::endian"]
77
---
8-
# endian enum
8+
9+
# `endian` enum
910

1011
Indicates the endianness of all scalar types.
1112

@@ -32,12 +33,12 @@ All native scalar types are little-endian for the platforms that Microsoft Visua
3233
3334
## Requirements
3435
35-
**Header:** \<bit>
36+
**Header:** `<bit>`
3637
37-
**Namespace:** std
38+
**Namespace:** `std`
3839
39-
[`/std:c++20`](../build/reference/std-specify-language-standard-version.md) or later is required.
40+
Compiler option: [`/std:c++20`](../build/reference/std-specify-language-standard-version.md) or later is required.
4041
4142
## See also
4243
43-
[\<bit>](../standard-library/bit.md)
44+
[`<bit>`](../standard-library/bit.md)

0 commit comments

Comments
 (0)