Skip to content

Commit db47863

Browse files
authored
Add backticks in <array> functions reference
1 parent 36ee0db commit db47863

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/standard-library/array-functions.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ helpviewer_keywords: ["std::array [C++], get", "std::get [C++]", "std::swap [C++
77
---
88
# `<array>` functions
99

10-
The \<array> header includes two non-member functions, `get` and `swap`, that operate on **array** objects.
10+
The `<array>` header includes two non-member functions, `get` and `swap`, that operate on **array** objects.
1111

12-
## <a name="get"></a> get
12+
## <a name="get"></a> `get`
1313

1414
Returns a reference to the specified element of the array.
1515

@@ -26,16 +26,16 @@ constexpr T&& get(array<T, N>&& arr) noexcept;
2626
2727
### Parameters
2828
29-
*Index*\
29+
*`Index`*\
3030
The element offset.
3131
32-
*T*\
32+
*`T`*\
3333
The type of an element.
3434
35-
*N*\
35+
*`N`*\
3636
The number of elements in the array.
3737
38-
*arr*\
38+
*`arr`*\
3939
The array to select from.
4040
4141
### Example
@@ -70,7 +70,7 @@ int main()
7070
1 3
7171
```
7272

73-
## <a name="swap"></a> swap
73+
## <a name="swap"></a> `swap`
7474

7575
A non-member template specialization of `std::swap` that swaps two **array** objects.
7676

@@ -81,16 +81,16 @@ void swap(array<Ty, N>& left, array<Ty, N>& right);
8181
8282
### Parameters
8383
84-
*Ty*\
84+
*`Ty`*\
8585
The type of an element.
8686
87-
*N*\
87+
*`N`*\
8888
The size of the array.
8989
90-
*left*\
90+
*`left`*\
9191
The first array to swap.
9292
93-
*right*\
93+
*`right`*\
9494
The second array to swap.
9595
9696
### Remarks
@@ -145,4 +145,4 @@ int main()
145145

146146
## See also
147147

148-
[\<array>](../standard-library/array.md)
148+
[`<array>`](../standard-library/array.md)

0 commit comments

Comments
 (0)