Skip to content

Commit d7a7af8

Browse files
authored
Add some backticks in basic_string class reference
1 parent a82987b commit d7a7af8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class basic_string;
2424
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`.
2525
2626
*`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`>.
2828
2929
*`Allocator`*\
3030
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
130130
131131
## Requirements
132132
133-
**Header:** \<string>
133+
**Header:** `<string>`
134134
135-
**Namespace:** std
135+
**Namespace:** `std`
136136
137137
## <a name="allocator_type"></a> `basic_string::allocator_type`
138138
@@ -379,10 +379,10 @@ The source string whose characters are to be assigned to the target string.
379379
The character value to be assigned.
380380
381381
*`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.
383383
384384
*`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.
386386
387387
*`off`*\
388388
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
662662
The character value to be copied into the string being constructed.
663663
664664
*`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.
666666
667667
*`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.
669669
670670
### Return value
671671
@@ -3908,10 +3908,10 @@ An iterator addressing the first character to be removed in the operand string.
39083908
An iterator addressing the last character to be removed in the operand string.
39093909
39103910
*`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.
39123912
39133913
*`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.
39153915
39163916
*`count`*\
39173917
The number of times *`char_value`* is copied into the operand string.

0 commit comments

Comments
 (0)