Skip to content

Commit b5a7bdd

Browse files
committed
formatting
1 parent 249d50f commit b5a7bdd

10 files changed

+139
-222
lines changed

docs/standard-library/chars-format-class.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,9 @@ Floating-point format for primitive numerical conversion.
1212

1313
```cpp
1414
enum class chars_format {
15-
scientific = unspecified ,
16-
fixed = unspecified ,
17-
hex = unspecified ,
18-
general = fixed | scientific
15+
scientific = unspecified ,
16+
fixed = unspecified ,
17+
hex = unspecified ,
18+
general = fixed | scientific
1919
};
2020
```
21-
22-
## Requirements
23-
24-
**Header:** \<utility>
25-
26-
**Namespace:** std
27-
28-
## See also
29-
30-
[\<utility>](../standard-library/utility.md)

docs/standard-library/from-chars-result-structure.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,8 @@ helpviewer_keywords: ["from_chars_result class", "from_chars_result structure"]
66
---
77
# from_chars_result Structure
88

9-
No description.
10-
119
## Syntax
1210

1311
```cpp
1412
struct from_chars_result { const char* ptr; error_code ec; };
1513
```
16-
17-
## Requirements
18-
19-
**Header:** \<utility>
20-
21-
**Namespace:** std
22-
23-
## See also
24-
25-
[\<utility>](../standard-library/utility.md)<br/>

docs/standard-library/in-place-t-struct.md

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,26 @@ helpviewer_keywords: ["utility<in_place_t> struct"]
66
---
77
# in_place_t Struct
88

9-
No description.
10-
119
## Syntax
1210

1311
```cpp
1412
struct in_place_t {
15-
explicit in_place_t() = default;
13+
explicit in_place_t() = default;
1614
};
15+
1716
inline constexpr in_place_t in_place{};
17+
1818
template <class T>
19-
struct in_place_type_t {
20-
explicit in_place_type_t() = default;
21-
};
19+
struct in_place_type_t {
20+
explicit in_place_type_t() = default;
21+
};
22+
2223
template <class T> inline constexpr in_place_type_t<T> in_place_type{};
24+
2325
template <size_t I>
24-
struct in_place_index_t {
25-
explicit in_place_index_t() = default;
26-
};
26+
struct in_place_index_t {
27+
explicit in_place_index_t() = default;
28+
};
29+
2730
template <size_t I> inline constexpr in_place_index_t<I> in_place_index{};
2831
```
29-
30-
## Requirements
31-
32-
**Header:** \<utility>
33-
34-
**Namespace:** std
35-
36-
## See also
37-
38-
[\<utility>](../standard-library/utility.md)

docs/standard-library/pair-structure.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ template<class T1, class T2>
5151
5252
### Parameters
5353
54-
*Val1*<br/>
54+
*Val1*\
5555
Value initializing the first element of `pair`.
5656
57-
*Val2*<br/>
57+
*Val2*\
5858
Value initializing the second element of `pair`.
5959
60-
*Right*<br/>
60+
*Right*\
6161
A pair whose values are to be used to initialize the elements of another pair.
6262
6363
## Return Value
@@ -151,7 +151,9 @@ int main( )
151151
<< " is already in m1,\n so the insertion failed." << endl;
152152
}
153153
}
154-
/* Output:
154+
```
155+
156+
```Output
155157
The pair p1 is: ( 10, 0.011 ).
156158
The pair p2 is: ( 10, 0.222 ).
157159
The pair p3 is: ( 10, 0.011 ).
@@ -160,15 +162,4 @@ The element (4,40) was inserted successfully in m1.
160162
The element with a key value of
161163
( (pr2.first) -> first ) = 1 is already in m1,
162164
so the insertion failed.
163-
*/
164165
```
165-
166-
## Requirements
167-
168-
**Header:** \<utility>
169-
170-
**Namespace:** std
171-
172-
## See also
173-
174-
[Thread Safety in the C++ Standard Library](../standard-library/thread-safety-in-the-cpp-standard-library.md)<br/>

docs/standard-library/piecewise-construct-t-structure.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,3 @@ struct piecewise_construct_t { explicit piecewise_construct_t() = default; };
1515

1616
inline constexpr piecewise_construct_t piecewise_construct{};
1717
```
18-
19-
## Requirements
20-
21-
**Header:** \<utility>
22-
23-
**Namespace:** std
24-
25-
## See also
26-
27-
[\<utility>](../standard-library/utility.md)<br/>

docs/standard-library/to-chars-result-structure.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ helpviewer_keywords: ["to_chars_result class", "to_chars_result structure"]
66
---
77
# to_chars_result Structure
88

9-
No description.
10-
119
## Syntax
1210

1311
```cpp
@@ -16,13 +14,3 @@ struct to_chars_result {
1614
error_code ec;
1715
};
1816
```
19-
20-
## Requirements
21-
22-
**Header:** \<utility>
23-
24-
**Namespace:** std
25-
26-
## See also
27-
28-
[\<utility>](../standard-library/utility.md)<br/>

docs/standard-library/utility-enums.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,5 @@ helpviewer_keywords: ["std::chars_format [C++]"]
99
## <a name="chars_format"></a> chars_format
1010

1111
```cpp
12-
enum class chars_format { scientific = unspecified, fixed = unspecified, hex = unspecified, general = fixed | scientific };
12+
enum class chars_format { scientific = unspecified, fixed = unspecified, hex = unspecified, general = fixed | scientific };
1313
```
14-
15-
## See also
16-
17-
[\<utility>](../standard-library/utility.md)<br/>

0 commit comments

Comments
 (0)