You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/standard-library/basic-string-class.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ class basic_string;
24
24
The data type of a single character to be stored in the string. The C++ Standard Library provides specializations of this class template, with the type definitions [`string`](../standard-library/string-typedefs.md#string) for elements of type `char`, [`wstring`](../standard-library/string-typedefs.md#wstring), for `wchar_t`, [`u16string`](../standard-library/string-typedefs.md#u16string) for `char16_t`, and [`u32string`](../standard-library/string-typedefs.md#u32string) for `char32_t`.
25
25
26
26
*`Traits`*\
27
-
Various important properties of the `CharType` elements in a basic_string specialization are described by the class `Traits`. The default value is `char_traits`<`CharType`>.
27
+
Various important properties of the `CharType` elements in a `basic_string` specialization are described by the class `Traits`. The default value is `char_traits`<`CharType`>.
28
28
29
29
*`Allocator`*\
30
30
The type that represents the stored allocator object that encapsulates details about the string's allocation and deallocation of memory. The default value is `allocator<CharType>`.
@@ -130,9 +130,9 @@ References, pointers, and iterators that designate elements of the controlled se
@@ -379,10 +379,10 @@ The source string whose characters are to be assigned to the target string.
379
379
The character value to be assigned.
380
380
381
381
*`first`*\
382
-
An input iterator, const_pointer, or const_iterator addressing the first character in the range of the source string to be assigned to the target range.
382
+
An input iterator, `const_pointer`, or `const_iterator` addressing the first character in the range of the source string to be assigned to the target range.
383
383
384
384
*`last`*\
385
-
An input iterator, const_pointer, or const_iterator addressing the one beyond the last character in the range of the source string to be assigned to the target range.
385
+
An input iterator, `const_pointer`, or `const_iterator` addressing the one beyond the last character in the range of the source string to be assigned to the target range.
386
386
387
387
*`off`*\
388
388
The position at which new characters will start to be assigned.
@@ -662,10 +662,10 @@ The index of a character in a string that is the first to be used to initialize
662
662
The character value to be copied into the string being constructed.
663
663
664
664
*`first`*\
665
-
An input iterator, const_pointer, or const_iterator addressing the first element in the source range to be inserted.
665
+
An input iterator, `const_pointer`, or `const_iterator` addressing the first element in the source range to be inserted.
666
666
667
667
*`last`*\
668
-
An input iterator, const_pointer, or const_iterator addressing the position of the one beyond the last element in the source range to be inserted.
668
+
An input iterator, `const_pointer`, or `const_iterator` addressing the position of the one beyond the last element in the source range to be inserted.
669
669
670
670
### Return value
671
671
@@ -3908,10 +3908,10 @@ An iterator addressing the first character to be removed in the operand string.
3908
3908
An iterator addressing the last character to be removed in the operand string.
3909
3909
3910
3910
*`first`*\
3911
-
An iterator, const_pointer, or const_iterator addressing the first character to be copied in the parameter string.
3911
+
An iterator, `const_pointer`, or `const_iterator` addressing the first character to be copied in the parameter string.
3912
3912
3913
3913
*`last`*\
3914
-
An iterator, const_pointer, or const_iterator addressing the last character to be copied in the parameter string.
3914
+
An iterator, `const_pointer`, or `const_iterator` addressing the last character to be copied in the parameter string.
3915
3915
3916
3916
*`count`*\
3917
3917
The number of times *`char_value`* is copied into the operand string.
0 commit comments