Skip to content

Commit 27c62e4

Browse files
authored
Add backticks in complex class template specializations
1 parent 93b9c8a commit 27c62e4

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

docs/standard-library/complex-double.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ constexpr explicit complex(const complex<long double>& complexNum);
2929
3030
### Parameters
3131
32-
*RealVal*\
32+
*`RealVal`*\
3333
The value of type **`double`** for the real part of the complex number being constructed.
3434
35-
*ImagVal*\
35+
*`ImagVal`*\
3636
The value of type **`double`** for the imaginary part of the complex number being constructed.
3737
38-
*complexNum*\
38+
*`complexNum`*\
3939
The complex number of type **`float`** or of type **`long double`** whose real and imaginary parts are used to initialize a complex number of type **`double`** being constructed.
4040
4141
## Return Value
@@ -105,11 +105,11 @@ arg ( c3 ) = 0.896055 radians, which is 51.3402 degrees.
105105

106106
## Requirements
107107

108-
**Header**: \<complex>
108+
**Header**: `<complex>`
109109

110-
**Namespace:** std
110+
**Namespace:** `std`
111111

112112
## See also
113113

114-
[complex Class](../standard-library/complex-class.md)\
114+
[`complex` Class](../standard-library/complex-class.md)\
115115
[Thread Safety in the C++ Standard Library](../standard-library/thread-safety-in-the-cpp-standard-library.md)

docs/standard-library/complex-float.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ constexpr complex(
3434
3535
### Parameters
3636
37-
*_RealVal*\
37+
*`_RealVal`*\
3838
The value of type **`float`** for the real part of the complex number being constructed.
3939
40-
*_ImagVal*\
40+
*`_ImagVal`*\
4141
The value of type **`float`** for the imaginary part of the complex number being constructed.
4242
43-
*complexNum*\
43+
*`complexNum`*\
4444
The complex number of type **`double`** or of type **`long double`** whose real and imaginary parts are used to initialize a complex number of type **`float`** being constructed.
4545
4646
## Return Value
@@ -111,11 +111,11 @@ arg ( c3 ) = 0.927295 radians, which is 53.1301 degrees.
111111

112112
## Requirements
113113

114-
**Header**: \<complex>
114+
**Header**: `<complex>`
115115

116-
**Namespace:** std
116+
**Namespace:** `std`
117117

118118
## See also
119119

120-
[complex Class](../standard-library/complex-class.md)\
120+
[`complex` Class](../standard-library/complex-class.md)\
121121
[Thread Safety in the C++ Standard Library](../standard-library/thread-safety-in-the-cpp-standard-library.md)

docs/standard-library/complex-long-double.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ complex(
2929
3030
### Parameters
3131
32-
*_RealVal*\
32+
*`_RealVal`*\
3333
The value of type **`long double`** for the real part of the complex number being constructed.
3434
35-
*_ImagVal*\
35+
*`_ImagVal`*\
3636
The value of type **`long double`** for the imaginary part of the complex number being constructed.
3737
38-
*complexNum*\
38+
*`complexNum`*\
3939
The complex number of type **`double`** or of type **`float`** whose real and imaginary parts are used to initialize a complex number of type **`long double`** being constructed.
4040
4141
## Return Value
@@ -108,11 +108,11 @@ arg( c3 ) = 0.927295 radians, which is 53.1301 degrees.
108108

109109
## Requirements
110110

111-
**Header**: \<complex>
111+
**Header**: `<complex>`
112112

113-
**Namespace:** std
113+
**Namespace:** `std`
114114

115115
## See also
116116

117-
[complex Class](../standard-library/complex-class.md)\
117+
[`complex` Class](../standard-library/complex-class.md)\
118118
[Thread Safety in the C++ Standard Library](../standard-library/thread-safety-in-the-cpp-standard-library.md)

0 commit comments

Comments
 (0)