Skip to content

Commit c79a6c5

Browse files
authored
Merge pull request #5491 from Rageking8/clean-up-empty-remarks-headings-in-standard-library
Clean up empty "Remarks" headings in standard library
2 parents d68011f + 886e883 commit c79a6c5

24 files changed

+28
-201
lines changed

docs/standard-library/allocators-functions.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2-
description: "Learn more about: <allocators> macros"
32
title: "<allocators> macros"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: <allocators> macros"
4+
ms.date: 11/04/2016
55
f1_keywords: ["allocators/std::ALLOCATOR_DECL", "allocators/std::CACHE_CHUNKLIST", "allocators/std::CACHE_FREELIST", "allocators/std::CACHE_SUBALLOC", "allocators/std::SYNC_DEFAULT"]
6-
ms.assetid: 9cb5ee07-1ff9-4594-ae32-3c8c6efb511a
76
helpviewer_keywords: ["std::ALLOCATOR_DECL [C++]", "std::CACHE_CHUNKLIST [C++]", "std::CACHE_FREELIST [C++]", "std::CACHE_SUBALLOC [C++]", "std::SYNC_DEFAULT [C++]"]
87
---
98
# `<allocators>` macros
@@ -72,8 +71,6 @@ Yields `stdext::allocators::cache_chunklist<sizeof(Type)>`.
7271
#define CACHE_CHUNKLIST <cache_class>
7372
```
7473

75-
### Remarks
76-
7774
## <a name="cache_freelist"></a> CACHE_FREELIST
7875

7976
Yields `stdext::allocators::cache_freelist<sizeof(Type), max>`.
@@ -82,8 +79,6 @@ Yields `stdext::allocators::cache_freelist<sizeof(Type), max>`.
8279
#define CACHE_FREELIST(max) <cache_class>
8380
```
8481
85-
### Remarks
86-
8782
## <a name="cache_suballoc"></a> CACHE_SUBALLOC
8883
8984
Yields `stdext::allocators::cache_suballoc<sizeof(Type)>`.
@@ -92,8 +87,6 @@ Yields `stdext::allocators::cache_suballoc<sizeof(Type)>`.
9287
#define CACHE_SUBALLOC <cache_class>
9388
```
9489

95-
### Remarks
96-
9790
## <a name="sync_default"></a> SYNC_DEFAULT
9891

9992
Yields a synchronization filter.

docs/standard-library/basic-string-class.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,6 @@ reference back();
569569

570570
A reference to the last element of the string, which must be non-empty.
571571

572-
### Remarks
573-
574572
## <a name="basic_string"></a> `basic_string::basic_string`
575573

576574
Constructs a string that is empty, initialized by specific characters, or is a copy of all or part of another string object or C style (null-terminated) string.
@@ -1473,8 +1471,6 @@ const_reverse_iterator crend() const;
14731471

14741472
A `const` reverse iterator that addresses the location succeeding the last element in a reversed string (the location that had preceded the first element in the unreversed string).
14751473

1476-
### Remarks
1477-
14781474
## <a name="copy_s"></a> `basic_string::_Copy_s`
14791475

14801476
Copies at most a specified number of characters from an indexed position in a source string to a target character array.
@@ -2885,8 +2881,6 @@ reference front();
28852881

28862882
A reference to the first element of the string, which must be non-empty.
28872883

2888-
### Remarks
2889-
28902884
## <a name="get_allocator"></a> `basic_string::get_allocator`
28912885

28922886
Returns a copy of the allocator object used to construct the string.

docs/standard-library/basic-stringbuf-class.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: basic_stringbuf Class"
32
title: "basic_stringbuf Class"
3+
description: "Learn more about: basic_stringbuf Class"
44
ms.date: 06/10/2022
55
f1_keywords: ["sstream/std::basic_stringbuf", "sstream/std::basic_stringbuf::allocator_type", "sstream/std::basic_stringbuf::char_type", "sstream/std::basic_stringbuf::int_type", "sstream/std::basic_stringbuf::off_type", "sstream/std::basic_stringbuf::pos_type", "sstream/std::basic_stringbuf::traits_type", "sstream/std::basic_stringbuf::overflow", "sstream/std::basic_stringbuf::pbackfail", "sstream/std::basic_stringbuf::seekoff", "sstream/std::basic_stringbuf::seekpos", "sstream/std::basic_stringbuf::str", "sstream/std::basic_stringbuf::underflow"]
66
helpviewer_keywords: ["std::basic_stringbuf [C++]", "std::basic_stringbuf [C++], allocator_type", "std::basic_stringbuf [C++], char_type", "std::basic_stringbuf [C++], int_type", "std::basic_stringbuf [C++], off_type", "std::basic_stringbuf [C++], pos_type", "std::basic_stringbuf [C++], traits_type", "std::basic_stringbuf [C++], overflow", "std::basic_stringbuf [C++], pbackfail", "std::basic_stringbuf [C++], seekoff", "std::basic_stringbuf [C++], seekpos", "std::basic_stringbuf [C++], str", "std::basic_stringbuf [C++], underflow"]
7-
ms.assetid: 40c85f9e-42a5-4a65-af5c-23c8e3bf8113
87
ms.custom: devdivchpfy22
98
---
109

@@ -365,8 +364,6 @@ void basic_stringbuf<T>::swap(basic_stringbuf& other)
365364
*other*\
366365
The basic_stringbuf whose contents will be swapped with this basic_stringbuf.
367366

368-
### Remarks
369-
370367
## <a name="op_eq"></a> basic_stringbuf::operator=
371368

372369
Assigns the contents of the basic_stringbuf on the right side of the operator to the basic_stringbuf on the left side.
@@ -380,8 +377,6 @@ basic_stringbuf& basic_stringbuf:: operator=(const basic_stringbuf& other)
380377
*other*\
381378
A basic_stringbuf whose contents, including locale traits, will be assigned to the stringbuf on the left side of the operator.
382379

383-
### Remarks
384-
385380
## See also
386381

387382
[Thread Safety in the C++ Standard Library](../standard-library/thread-safety-in-the-cpp-standard-library.md)\

docs/standard-library/cache-chunklist-class.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: cache_chunklist Class"
32
title: "cache_chunklist Class"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: cache_chunklist Class"
4+
ms.date: 11/04/2016
55
f1_keywords: ["allocators/stdext::cache_chunklist", "allocators/stdext::cache_chunklist::allocate", "allocators/stdext::cache_chunklist::deallocate"]
66
helpviewer_keywords: ["stdext::cache_chunklist", "stdext::cache_chunklist [C++], allocate", "stdext::cache_chunklist [C++], deallocate"]
7-
ms.assetid: af19eccc-4ae7-4a34-bbb2-81e397424cb9
87
---
98
# cache_chunklist Class
109

@@ -64,8 +63,6 @@ The number of elements in the array to be allocated.
6463

6564
A pointer to the allocated object.
6665

67-
### Remarks
68-
6966
## <a name="cache_chunklist"></a> cache_chunklist::cache_chunklist
7067

7168
Constructs an object of type `cache_chunklist`.
@@ -74,8 +71,6 @@ Constructs an object of type `cache_chunklist`.
7471
cache_chunklist();
7572
```
7673

77-
### Remarks
78-
7974
## <a name="deallocate"></a> cache_chunklist::deallocate
8075

8176
Frees a specified number of objects from storage beginning at a specified position.
@@ -92,8 +87,6 @@ A pointer to the first object to be deallocated from storage.
9287
*count*\
9388
The number of objects to be deallocated from storage.
9489
95-
### Remarks
96-
9790
## See also
9891
9992
[\<allocators>](../standard-library/allocators-header.md)

docs/standard-library/cache-freelist-class.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: cache_freelist Class"
32
title: "cache_freelist Class"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: cache_freelist Class"
4+
ms.date: 11/04/2016
55
f1_keywords: ["allocators/stdext::cache_freelist", "allocators/stdext::cache_freelist::allocate", "allocators/stdext::cache_freelist::deallocate"]
66
helpviewer_keywords: ["stdext::cache_freelist", "stdext::cache_freelist [C++], allocate", "stdext::cache_freelist [C++], deallocate"]
7-
ms.assetid: 840694de-36ba-470f-8dae-2b723d5a8cd9
87
---
98
# cache_freelist Class
109

@@ -67,8 +66,6 @@ The number of elements in the array to be allocated.
6766

6867
A pointer to the allocated object.
6968

70-
### Remarks
71-
7269
## <a name="cache_freelist"></a> cache_freelist::cache_freelist
7370

7471
Constructs an object of type `cache_freelist`.
@@ -77,8 +74,6 @@ Constructs an object of type `cache_freelist`.
7774
cache_freelist();
7875
```
7976

80-
### Remarks
81-
8277
## <a name="deallocate"></a> cache_freelist::deallocate
8378

8479
Frees a specified number of objects from storage beginning at a specified position.
@@ -95,8 +90,6 @@ A pointer to the first object to be deallocated from storage.
9590
*count*\
9691
The number of objects to be deallocated from storage.
9792
98-
### Remarks
99-
10093
## See also
10194
10295
[\<allocators>](../standard-library/allocators-header.md)

docs/standard-library/cache-suballoc-class.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: cache_suballoc Class"
32
title: "cache_suballoc Class"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: cache_suballoc Class"
4+
ms.date: 11/04/2016
55
f1_keywords: ["allocators/stdext::cache_suballoc", "allocators/stdext::cache_suballoc::allocate", "allocators/stdext::cache_suballoc::deallocate"]
66
helpviewer_keywords: ["stdext::cache_suballoc", "stdext::cache_suballoc [C++], allocate", "stdext::cache_suballoc [C++], deallocate"]
7-
ms.assetid: 9ea9c5e9-1dcc-45d0-b3a7-a56a93d88898
87
---
98
# cache_suballoc Class
109

@@ -64,8 +63,6 @@ The number of elements in the array to be allocated.
6463

6564
A pointer to the allocated object.
6665

67-
### Remarks
68-
6966
## <a name="cache_suballoc"></a> cache_suballoc::cache_suballoc
7067

7168
Constructs an object of type `cache_suballoc`.
@@ -74,8 +71,6 @@ Constructs an object of type `cache_suballoc`.
7471
cache_suballoc();
7572
```
7673

77-
### Remarks
78-
7974
## <a name="deallocate"></a> cache_suballoc::deallocate
8075

8176
Frees a specified number of objects from storage beginning at a specified position.
@@ -92,8 +87,6 @@ A pointer to the first object to be deallocated from storage.
9287
*count*\
9388
The number of objects to be deallocated from storage.
9489
95-
### Remarks
96-
9790
## See also
9891
9992
[\<allocators>](../standard-library/allocators-header.md)

docs/standard-library/error-category-class.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: error_category Class"
32
title: "error_category Class"
3+
description: "Learn more about: error_category Class"
44
ms.date: 06/15/2022
55
f1_keywords: ["system_error/std::error_category", "system_error/std::error_category::value_type", "system_error/std::error_category::default_error_condition", "system_error/std::error_category::equivalent", "system_error/std::error_category::message", "system_error/std::error_category::name"]
66
helpviewer_keywords: ["std::error_category", "std::error_category::value_type", "std::error_category::default_error_condition", "std::error_category::equivalent", "std::error_category::message", "std::error_category::name"]
7-
ms.assetid: e0a71e14-852d-4905-acd6-5f8ed426706d
87
ms.custom: devdivchpfy22
98
---
109

@@ -71,8 +70,6 @@ The error code value to store in the [error_condition](../standard-library/error
7170

7271
Returns `error_condition(_Errval, *this)`.
7372

74-
### Remarks
75-
7673
### <a name="equivalent"></a> equivalent
7774

7875
Returns a value that specifies whether error objects are equivalent.
@@ -129,8 +126,6 @@ The error code value to describe.
129126
130127
Returns a descriptive name of the error code *val* for the category. If the error code is unrecognized, returns `"unknown error"`.
131128
132-
#### Remarks
133-
134129
### <a name="name"></a> name
135130
136131
Returns the name of the category.

docs/standard-library/error-code-class.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: error_code Class"
32
title: "error_code Class"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: error_code Class"
4+
ms.date: 11/04/2016
55
f1_keywords: ["system_error/std::error_code", "system_error/std::error_code::value_type", "system_error/std::error_code::assign", "system_error/std::error_code::category", "system_error/std::error_code::clear", "system_error/std::error_code::default_error_condition", "system_error/std::error_code::message", "system_error/std::error_code::operator bool"]
66
helpviewer_keywords: ["std::error_code", "std::error_code::value_type", "std::error_code::assign", "std::error_code::category", "std::error_code::clear", "std::error_code::default_error_condition", "std::error_code::message"]
7-
ms.assetid: c09b4a96-cb14-4281-a319-63543f9b2b4a
87
---
98
# error_code Class
109

@@ -82,8 +81,6 @@ Returns the error category.
8281
const error_category& category() const;
8382
```
8483

85-
#### Remarks
86-
8784
### <a name="clear"></a> clear
8885

8986
Clears the error code value and category.

docs/standard-library/error-condition-class.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ const error_category& category() const;
8484

8585
A reference to the stored error category
8686

87-
#### Remarks
88-
8987
### <a name="clear"></a> clear
9088

9189
Clears the error code value and category.
@@ -264,8 +262,6 @@ value_type value() const;
264262

265263
The stored error code value of type [value_type](#value_type).
266264

267-
#### Remarks
268-
269265
### <a name="value_type"></a> value_type
270266

271267
A type that represents the stored error code value.

docs/standard-library/forward-list-class.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ iterator before_begin();
168168

169169
A forward iterator that points just before the first element of the sequence (or just before the end of an empty sequence).
170170

171-
### Remarks
172-
173171
## <a name="begin"></a> `begin`
174172

175173
Returns an iterator addressing the first element in a forward list.
@@ -183,8 +181,6 @@ iterator begin();
183181

184182
A forward iterator that points at the first element of the sequence (or just beyond the end of an empty sequence).
185183

186-
### Remarks
187-
188184
## <a name="cbefore_begin"></a> `cbefore_begin`
189185

190186
Returns a const iterator addressing the position before the first element in a forward list.
@@ -197,8 +193,6 @@ const_iterator cbefore_begin() const;
197193

198194
A forward iterator that points just before the first element of the sequence (or just before the end of an empty sequence).
199195

200-
### Remarks
201-
202196
## <a name="cbegin"></a> `cbegin`
203197

204198
Returns a **`const`** iterator that addresses the first element in the range.
@@ -285,8 +279,6 @@ typedef typename Allocator::const_pointer
285279
const_pointer;
286280
```
287281

288-
### Remarks
289-
290282
## <a name="const_reference"></a> `const_reference`
291283

292284
A type that provides a constant reference to an element in the forward list.
@@ -295,8 +287,6 @@ A type that provides a constant reference to an element in the forward list.
295287
typedef typename Allocator::const_reference const_reference;
296288
```
297289

298-
### Remarks
299-
300290
## <a name="difference_type"></a> `difference_type`
301291

302292
A signed integer type that can be used to represent the number of elements of a forward list in a range between elements pointed to by iterators.
@@ -577,8 +567,6 @@ size_type max_size() const;
577567

578568
The length of the longest sequence that the object can control.
579569

580-
### Remarks
581-
582570
## <a name="merge"></a> `merge`
583571

584572
Combines two sorted sequences into a single sorted sequence in linear time. Removes the elements from the argument list, and inserts them into this `forward_list`. The two lists should be sorted by the same compare function object before the call to `merge`. The combined list will be sorted by that compare function object.

0 commit comments

Comments
 (0)