Skip to content

Commit f38bdee

Browse files
TylerMSFTTylerMSFT
authored andcommitted
match incoming changes
1 parent 4c8221e commit f38bdee

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/standard-library/iterator-functions.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ An integral type that is convertible to the iterator's difference type and that
2828
2929
The range must be nonsingular, where the iterators must be dereferenceable or past the end.
3030
31-
If the `InputIterator` satisfies the requirements for a bidirectional iterator type, then *Off* may be negative. If `InputIterator` is an input or forward iterator type, *`Off`* must be nonnegative.
31+
If the `InputIterator` satisfies the requirements for a bidirectional iterator type, then *`Off`* may be negative. If `InputIterator` is an input or forward iterator type, *`Off`* must be nonnegative.
3232
3333
The advance function has constant complexity when `InputIterator` satisfies the requirements for a random-access iterator; otherwise, it has linear complexity and so is potentially expensive.
3434
@@ -268,15 +268,15 @@ auto cbegin(const Container& cont)
268268
### Parameters
269269
270270
*`cont`*\
271-
A container or initializer_list.
271+
A container or `initializer_list`.
272272
273273
### Return Value
274274
275275
A constant `cont.begin()`.
276276
277277
### Remarks
278278
279-
This function works with all C++ Standard Library containers and with [initializer_list](../standard-library/initializer-list-class.md).
279+
This function works with all C++ Standard Library containers and with [`initializer_list`](../standard-library/initializer-list-class.md).
280280
281281
You can use this member function in place of the `begin()` template function to guarantee that the return value is `const_iterator`. Typically, it's used with the [`auto`](../cpp/auto-cpp.md) type deduction keyword, as shown in the following example. In the example, consider `Container` to be a modifiable (non- **`const`**) container or `initializer_list` of any kind that supports `begin()` and `cbegin()`.
282282
@@ -329,7 +329,7 @@ Get a reverse read-only iterator to the elements of the container, starting at t
329329
template <class C> constexpr auto crbegin(const C& c) -> decltype(std::rbegin(c));
330330
```
331331
332-
## Parameters
332+
### Parameters
333333
334334
*`C`*\
335335
The type of the container.
@@ -372,7 +372,7 @@ Get the sentinel at the end of a read-only reversed sequence of elements.
372372
template <class C> constexpr auto crend(const C& c) -> decltype(std::rend(c));
373373
```
374374
375-
## Parameters
375+
### Parameters
376376
377377
*`C`*\
378378
The type of the container.
@@ -548,7 +548,7 @@ template <class T, size_t N> constexpr bool empty(const T (&array)[N]) noexcept;
548548
template <class E> constexpr bool empty(initializer_list<E> il) noexcept;
549549
```
550550
551-
## Parameters
551+
### Parameters
552552
553553
*`C`*\
554554
The type of the container.
@@ -700,7 +700,7 @@ After the front insertions, the list L is:
700700
( 200 100 -1 0 1 2 3 4 5 6 7 8 ).
701701
```
702702

703-
## <a name="inserter"></a> inserter
703+
## <a name="inserter"></a> `inserter`
704704

705705
A helper template function that lets you use `inserter(Cont, Where)` instead of `insert_iterator<Container>(Cont, Where)`.
706706

@@ -717,12 +717,12 @@ inserter(
717717
*`Cont`*\
718718
The container to which new elements are to be added.
719719
720-
*Where*\
720+
*`Where`*\
721721
An iterator locating the point of insertion.
722722
723723
### Remarks
724724
725-
The template function returns [insert_iterator](../standard-library/insert-iterator-class.md#insert_iterator)`<Container>(Cont, Where)`.
725+
The template function returns [`insert_iterator`](../standard-library/insert-iterator-class.md#insert_iterator)`<Container>(Cont, Where)`.
726726
727727
### Example
728728

0 commit comments

Comments
 (0)