Skip to content

Commit c5af7d7

Browse files
authored
Remove extraneous "class" in link text after "class template"
1 parent eb1cacc commit c5af7d7

13 files changed

+32
-32
lines changed

docs/atl-mfc-shared/basic-cstring-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This topic explains the following basic [CString](../atl-mfc-shared/reference/cs
1919

2020
- [Converting CString objects](#_core_converting_cstring_objects)
2121

22-
`Class CString` is based on class template [CStringT Class](../atl-mfc-shared/reference/cstringt-class.md). `CString` is a **`typedef`** of `CStringT`. More exactly, `CString` is a **`typedef`** of an *explicit specialization* of `CStringT`, which is a common way to use a class template to define a class. Similarly defined classes are `CStringA` and `CStringW`.
22+
`Class CString` is based on class template [CStringT](../atl-mfc-shared/reference/cstringt-class.md). `CString` is a **`typedef`** of `CStringT`. More exactly, `CString` is a **`typedef`** of an *explicit specialization* of `CStringT`, which is a common way to use a class template to define a class. Similarly defined classes are `CStringA` and `CStringW`.
2323

2424
`CString`, `CStringA`, and `CStringW` are defined in atlstr.h. `CStringT` is defined in cstringt.h.
2525

docs/standard-library/array-operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Right container to compare.
116116

117117
### Remarks
118118

119-
The template function overloads `operator<` to compare two objects of class template [array Class](../standard-library/array-class-stl.md). The function returns `lexicographical_compare(left.begin(), left.end(), right.begin())`.
119+
The template function overloads `operator<` to compare two objects of class template [array](../standard-library/array-class-stl.md). The function returns `lexicographical_compare(left.begin(), left.end(), right.begin())`.
120120

121121
### Example
122122

@@ -262,7 +262,7 @@ Right container to compare.
262262

263263
### Remarks
264264

265-
The template function overloads `operator==` to compare two objects of class template [array Class](../standard-library/array-class-stl.md). The function returns `equal(left.begin(), left.end(), right.begin())`.
265+
The template function overloads `operator==` to compare two objects of class template [array](../standard-library/array-class-stl.md). The function returns `equal(left.begin(), left.end(), right.begin())`.
266266

267267
### Example
268268

docs/standard-library/char-traits-char-struct.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ Specialization allows the struct to take advantage of library functions that man
2323
2424
## Example
2525
26-
See the typedefs and member functions of the class template [char_traits Class](../standard-library/char-traits-struct.md)
26+
See the typedefs and member functions of the class template [char_traits](../standard-library/char-traits-struct.md)

docs/standard-library/cvt-wbuffer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 6e6eb44c-1bc4-4d8c-a4bd-b39c753ce725
88
---
99
# `<cvt/wbuffer>`
1010

11-
The header `<cvt/wstring>` in previous versions of Visual Studio defined the class template [wbuffer_convert Class](../standard-library/wbuffer-convert-class.md) in the stdext::cvt namespace. The header is maintained for backward compatibility. New code should use the version of the class that is defined in [\<locale>](../standard-library/locale.md) in the `std` namespace
11+
The header `<cvt/wstring>` in previous versions of Visual Studio defined the class template [wbuffer_convert](../standard-library/wbuffer-convert-class.md) in the stdext::cvt namespace. The header is maintained for backward compatibility. New code should use the version of the class that is defined in [\<locale>](../standard-library/locale.md) in the `std` namespace
1212

1313
## Syntax
1414

docs/standard-library/cvt-wstring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: d78b04bb-9ac0-4adb-8ffe-3aefb9b14c2d
88
---
99
# `<cvt/wstring>`
1010

11-
The header `<cvt/wstring>` in previous versions of Visual Studio defined the class template [wstring_convert Class](../standard-library/wstring-convert-class.md) in the stdext::cvt namespace. The header is maintained for backward compatibility. New code should use the version of the class that is defined in [\<locale>](../standard-library/locale.md) in the `std` namespace
11+
The header `<cvt/wstring>` in previous versions of Visual Studio defined the class template [wstring_convert](../standard-library/wstring-convert-class.md) in the stdext::cvt namespace. The header is maintained for backward compatibility. New code should use the version of the class that is defined in [\<locale>](../standard-library/locale.md) in the `std` namespace
1212

1313
## Syntax
1414

docs/standard-library/regex-traits-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The character element type to describe.
2424
2525
## Remarks
2626
27-
The class template describes various regular expression traits for type *Elem*. The class template [basic_regex Class](../standard-library/basic-regex-class.md) uses this information to manipulate elements of type *Elem*.
27+
The class template describes various regular expression traits for type *Elem*. The class template [basic_regex](../standard-library/basic-regex-class.md) uses this information to manipulate elements of type *Elem*.
2828
2929
Each `regex_traits` object holds an object of type `regex_traits::locale` which is used by some of its member functions. The default locale is a copy of `regex_traits::locale()`. The member function `imbue` replaces the locale object, and the member function `getloc` returns a copy of the locale object.
3030

docs/standard-library/regex-typedefs.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ typedef match_results<const char*> cmatch;
1818

1919
### Remarks
2020

21-
The type describes a specialization of class template [match_results Class](../standard-library/match-results-class.md) for iterators of type `const char*`.
21+
The type describes a specialization of class template [match_results](../standard-library/match-results-class.md) for iterators of type `const char*`.
2222

2323
## <a name="cregex_iterator"></a> cregex_iterator Typedef
2424

@@ -30,7 +30,7 @@ typedef regex_iterator<const char*> cregex_iterator;
3030

3131
### Remarks
3232

33-
The type describes a specialization of class template [regex_iterator Class](../standard-library/regex-iterator-class.md) for iterators of type `const char*`.
33+
The type describes a specialization of class template [regex_iterator](../standard-library/regex-iterator-class.md) for iterators of type `const char*`.
3434

3535
## <a name="cregex_token_iterator"></a> cregex_token_iterator Typedef
3636

@@ -42,7 +42,7 @@ typedef regex_token_iterator<const char*> cregex_token_iterator;
4242

4343
### Remarks
4444

45-
The type describes a specialization of class template [regex_token_iterator Class](../standard-library/regex-token-iterator-class.md) for iterators of type `const char*`.
45+
The type describes a specialization of class template [regex_token_iterator](../standard-library/regex-token-iterator-class.md) for iterators of type `const char*`.
4646

4747
## <a name="csub_match"></a> csub_match Typedef
4848

@@ -54,7 +54,7 @@ typedef sub_match<const char*> csub_match;
5454

5555
### Remarks
5656

57-
The type describes a specialization of class template [sub_match Class](../standard-library/sub-match-class.md) for iterators of type `const char*`.
57+
The type describes a specialization of class template [sub_match](../standard-library/sub-match-class.md) for iterators of type `const char*`.
5858

5959
## <a name="regex"></a> regex Typedef
6060

@@ -66,7 +66,7 @@ typedef basic_regex<char> regex;
6666

6767
### Remarks
6868

69-
The type describes a specialization of class template [basic_regex Class](../standard-library/basic-regex-class.md) for elements of type **`char`**.
69+
The type describes a specialization of class template [basic_regex](../standard-library/basic-regex-class.md) for elements of type **`char`**.
7070

7171
> [!NOTE]
7272
> High-bit characters will have unpredictable results with `regex`. Values outside the range of 0 to 127 may result in undefined behavior.
@@ -81,7 +81,7 @@ typedef match_results<string::const_iterator> smatch;
8181

8282
### Remarks
8383

84-
The type describes a specialization of class template [match_results Class](../standard-library/match-results-class.md) for iterators of type `string::const_iterator`.
84+
The type describes a specialization of class template [match_results](../standard-library/match-results-class.md) for iterators of type `string::const_iterator`.
8585

8686
## <a name="sregex_iterator"></a> sregex_iterator Typedef
8787

@@ -93,7 +93,7 @@ typedef regex_iterator<string::const_iterator> sregex_iterator;
9393

9494
### Remarks
9595

96-
The type describes a specialization of class template [regex_iterator Class](../standard-library/regex-iterator-class.md) for iterators of type `string::const_iterator`.
96+
The type describes a specialization of class template [regex_iterator](../standard-library/regex-iterator-class.md) for iterators of type `string::const_iterator`.
9797

9898
## <a name="sregex_token_iterator"></a> sregex_token_iterator Typedef
9999

@@ -105,7 +105,7 @@ typedef regex_token_iterator<string::const_iterator> sregex_token_iterator;
105105

106106
### Remarks
107107

108-
The type describes a specialization of class template [regex_token_iterator Class](../standard-library/regex-token-iterator-class.md) for iterators of type `string::const_iterator`.
108+
The type describes a specialization of class template [regex_token_iterator](../standard-library/regex-token-iterator-class.md) for iterators of type `string::const_iterator`.
109109

110110
## <a name="ssub_match"></a> ssub_match Typedef
111111

@@ -117,7 +117,7 @@ typedef sub_match<string::const_iterator> ssub_match;
117117

118118
### Remarks
119119

120-
The type describes a specialization of class template [sub_match Class](../standard-library/sub-match-class.md) for iterators of type `string::const_iterator`.
120+
The type describes a specialization of class template [sub_match](../standard-library/sub-match-class.md) for iterators of type `string::const_iterator`.
121121

122122
## <a name="wcmatch"></a> wcmatch Typedef
123123

@@ -129,7 +129,7 @@ typedef match_results<const wchar_t *> wcmatch;
129129

130130
### Remarks
131131

132-
The type describes a specialization of class template [match_results Class](../standard-library/match-results-class.md) for iterators of type `const wchar_t*`.
132+
The type describes a specialization of class template [match_results](../standard-library/match-results-class.md) for iterators of type `const wchar_t*`.
133133

134134
## <a name="wcregex_iterator"></a> wcregex_iterator Typedef
135135

@@ -141,7 +141,7 @@ typedef regex_iterator<const wchar_t*> wcregex_iterator;
141141

142142
### Remarks
143143

144-
The type describes a specialization of class template [regex_iterator Class](../standard-library/regex-iterator-class.md) for iterators of type `const wchar_t*`.
144+
The type describes a specialization of class template [regex_iterator](../standard-library/regex-iterator-class.md) for iterators of type `const wchar_t*`.
145145

146146
## <a name="wcregex_token_iterator"></a> wcregex_token_iterator Typedef
147147

@@ -153,7 +153,7 @@ typedef regex_token_iterator<const wchar_t*> wcregex_token_iterator;
153153

154154
### Remarks
155155

156-
The type describes a specialization of class template [regex_token_iterator Class](../standard-library/regex-token-iterator-class.md) for iterators of type `const wchar_t*`.
156+
The type describes a specialization of class template [regex_token_iterator](../standard-library/regex-token-iterator-class.md) for iterators of type `const wchar_t*`.
157157

158158
## <a name="wcsub_match"></a> wcsub_match Typedef
159159

@@ -165,7 +165,7 @@ typedef sub_match<const wchar_t*> wcsub_match;
165165

166166
### Remarks
167167

168-
The type describes a specialization of class template [sub_match Class](../standard-library/sub-match-class.md) for iterators of type `const wchar_t*`.
168+
The type describes a specialization of class template [sub_match](../standard-library/sub-match-class.md) for iterators of type `const wchar_t*`.
169169

170170
## <a name="wregex"></a> wregex Typedef
171171

@@ -177,7 +177,7 @@ typedef basic_regex<wchar_t> wregex;
177177

178178
### Remarks
179179

180-
The type describes a specialization of class template [basic_regex Class](../standard-library/basic-regex-class.md) for elements of type **`wchar_t`**.
180+
The type describes a specialization of class template [basic_regex](../standard-library/basic-regex-class.md) for elements of type **`wchar_t`**.
181181

182182
## <a name="wsmatch"></a> wsmatch Typedef
183183

@@ -189,7 +189,7 @@ typedef match_results<wstring::const_iterator> wsmatch;
189189

190190
### Remarks
191191

192-
The type describes a specialization of class template [match_results Class](../standard-library/match-results-class.md) for iterators of type `wstring::const_iterator`.
192+
The type describes a specialization of class template [match_results](../standard-library/match-results-class.md) for iterators of type `wstring::const_iterator`.
193193

194194
## <a name="wsregex_iterator"></a> wsregex_iterator Typedef
195195

@@ -201,7 +201,7 @@ typedef regex_iterator<wstring::const_iterator> wsregex_iterator;
201201

202202
### Remarks
203203

204-
The type describes a specialization of class template [regex_iterator Class](../standard-library/regex-iterator-class.md) for iterators of type `wstring::const_iterator`.
204+
The type describes a specialization of class template [regex_iterator](../standard-library/regex-iterator-class.md) for iterators of type `wstring::const_iterator`.
205205

206206
## <a name="wsregex_token_iterator"></a> wsregex_token_iterator Typedef
207207

@@ -213,7 +213,7 @@ typedef regex_token_iterator<wstring::const_iterator> wsregex_token_iterator;
213213

214214
### Remarks
215215

216-
The type describes a specialization of class template [regex_token_iterator Class](../standard-library/regex-token-iterator-class.md) for iterators of type `wstring::const_iterator`.
216+
The type describes a specialization of class template [regex_token_iterator](../standard-library/regex-token-iterator-class.md) for iterators of type `wstring::const_iterator`.
217217

218218
## <a name="wssub_match"></a> wssub_match Typedef
219219

@@ -225,7 +225,7 @@ typedef sub_match<wstring::const_iterator> wssub_match;
225225

226226
### Remarks
227227

228-
The type describes a specialization of class template [sub_match Class](../standard-library/sub-match-class.md) for iterators of type `wstring::const_iterator`.
228+
The type describes a specialization of class template [sub_match](../standard-library/sub-match-class.md) for iterators of type `wstring::const_iterator`.
229229

230230
## See also
231231

docs/standard-library/regex.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Defines a class template to parse [Regular Expressions (C++)](../standard-librar
1717

1818
## Remarks
1919

20-
To create a regular expression object, use the class template [`basic_regex` Class](../standard-library/basic-regex-class.md) or one of its specializations, [`regex`](../standard-library/regex-typedefs.md#regex) and [`wregex`](../standard-library/regex-typedefs.md#wregex), together with the syntax flags of type [`regex_constants::syntax_option_type`](../standard-library/regex-constants-class.md#syntax_option_type).
20+
To create a regular expression object, use the class template [`basic_regex`](../standard-library/basic-regex-class.md) or one of its specializations, [`regex`](../standard-library/regex-typedefs.md#regex) and [`wregex`](../standard-library/regex-typedefs.md#wregex), together with the syntax flags of type [`regex_constants::syntax_option_type`](../standard-library/regex-constants-class.md#syntax_option_type).
2121

22-
To search text for matches to a regular expression object, use the template functions [`regex_match`](../standard-library/regex-functions.md#regex_match) and [`regex_search`](../standard-library/regex-functions.md#regex_search), together with the match flags of type [`regex_constants::match_flag_type`](../standard-library/regex-constants-class.md#match_flag_type). These functions return results by using the class template [`match_results` Class](../standard-library/match-results-class.md) and its specializations, [`cmatch`](../standard-library/regex-typedefs.md#cmatch), [`wcmatch`](../standard-library/regex-typedefs.md#wcmatch), [`smatch`](../standard-library/regex-typedefs.md#smatch), and [`wsmatch`](../standard-library/regex-typedefs.md#wsmatch), together with the class template [`sub_match` Class](../standard-library/sub-match-class.md) and its specializations, [`csub_match`](../standard-library/regex-typedefs.md#csub_match), [`wcsub_match`](../standard-library/regex-typedefs.md#wcsub_match), [`ssub_match`](../standard-library/regex-typedefs.md#ssub_match), and [`wssub_match`](../standard-library/regex-typedefs.md#wssub_match).
22+
To search text for matches to a regular expression object, use the template functions [`regex_match`](../standard-library/regex-functions.md#regex_match) and [`regex_search`](../standard-library/regex-functions.md#regex_search), together with the match flags of type [`regex_constants::match_flag_type`](../standard-library/regex-constants-class.md#match_flag_type). These functions return results by using the class template [`match_results`](../standard-library/match-results-class.md) and its specializations, [`cmatch`](../standard-library/regex-typedefs.md#cmatch), [`wcmatch`](../standard-library/regex-typedefs.md#wcmatch), [`smatch`](../standard-library/regex-typedefs.md#smatch), and [`wsmatch`](../standard-library/regex-typedefs.md#wsmatch), together with the class template [`sub_match`](../standard-library/sub-match-class.md) and its specializations, [`csub_match`](../standard-library/regex-typedefs.md#csub_match), [`wcsub_match`](../standard-library/regex-typedefs.md#wcsub_match), [`ssub_match`](../standard-library/regex-typedefs.md#ssub_match), and [`wssub_match`](../standard-library/regex-typedefs.md#wssub_match).
2323

2424
To replace text that matches a regular expression object, use the template function [`regex_replace`](../standard-library/regex-functions.md#regex_replace), together with the match flags of type [`regex_constants::match_flag_type`](../standard-library/regex-constants-class.md#match_flag_type).
2525

docs/standard-library/string-operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The string that is the concatenation of the input strings.
8989
9090
### Remarks
9191
92-
The functions each overload `operator+` to concatenate two objects of class template [basic_string Class](../standard-library/basic-string-class.md). All effectively return `basic_string< CharType, Traits, Allocator>(Left).append(right)`. For more information, see [append](../standard-library/basic-string-class.md#append).
92+
The functions each overload `operator+` to concatenate two objects of class template [basic_string](../standard-library/basic-string-class.md). All effectively return `basic_string< CharType, Traits, Allocator>(Left).append(right)`. For more information, see [append](../standard-library/basic-string-class.md#append).
9393
9494
### Example
9595

docs/standard-library/unordered-map-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The allocator class.
9999
100100
## Remarks
101101
102-
The object orders the sequence it controls by calling two stored objects, a comparison function object of type [`unordered_map::key_equal`](#key_equal) and a hash function object of type [`unordered_map::hasher`](#hasher). You access the first stored object by calling the member function [`unordered_map::key_eq`](#key_eq)`()`; and you access the second stored object by calling the member function [`unordered_map::hash_function`](#hash)`()`. Specifically, for all values `X` and `Y` of type `Key`, the call `key_eq()(X, Y)` returns true only if the two argument values have equivalent ordering; the call `hash_function()(keyval)` yields a distribution of values of type `size_t`. Unlike class template [`unordered_multimap` Class](../standard-library/unordered-multimap-class.md), an object of type `unordered_map` ensures that `key_eq()(X, Y)` is always false for any two elements of the controlled sequence. (Keys are unique.)
102+
The object orders the sequence it controls by calling two stored objects, a comparison function object of type [`unordered_map::key_equal`](#key_equal) and a hash function object of type [`unordered_map::hasher`](#hasher). You access the first stored object by calling the member function [`unordered_map::key_eq`](#key_eq)`()`; and you access the second stored object by calling the member function [`unordered_map::hash_function`](#hash)`()`. Specifically, for all values `X` and `Y` of type `Key`, the call `key_eq()(X, Y)` returns true only if the two argument values have equivalent ordering; the call `hash_function()(keyval)` yields a distribution of values of type `size_t`. Unlike class template [`unordered_multimap`](../standard-library/unordered-multimap-class.md), an object of type `unordered_map` ensures that `key_eq()(X, Y)` is always false for any two elements of the controlled sequence. (Keys are unique.)
103103
104104
The object also stores a maximum load factor, which specifies the maximum desired average number of elements per bucket. If inserting an element causes [`unordered_map::load_factor`](#load_factor)`()` to exceed the maximum load factor, the container increases the number of buckets and rebuilds the hash table as needed.
105105

0 commit comments

Comments
 (0)