Skip to content

Commit 1754b67

Browse files
authored
Simplify redundant relative links in "Checked Iterators" topic
1 parent 31d1d56 commit 1754b67

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

docs/standard-library/checked-iterators.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,45 +8,45 @@ ms.assetid: cfc87df8-e3d9-403b-ab78-e9483247d940
88
---
99
# Checked Iterators
1010

11-
Checked iterators ensure that the bounds of your container are not overwritten. Checked iterators apply to both release builds and debug builds. For more information about how to use debug iterators when you compile in debug mode, see [Debug Iterator Support](../standard-library/debug-iterator-support.md).
11+
Checked iterators ensure that the bounds of your container are not overwritten. Checked iterators apply to both release builds and debug builds. For more information about how to use debug iterators when you compile in debug mode, see [Debug Iterator Support](debug-iterator-support.md).
1212

1313
## Remarks
1414

15-
For information about how to disable warnings that are generated by checked iterators, see [`_SCL_SECURE_NO_WARNINGS`](../standard-library/scl-secure-no-warnings.md).
15+
For information about how to disable warnings that are generated by checked iterators, see [`_SCL_SECURE_NO_WARNINGS`](scl-secure-no-warnings.md).
1616

17-
You can use the [`_ITERATOR_DEBUG_LEVEL`](../standard-library/iterator-debug-level.md) preprocessor macro to enable or disable the checked iterators feature. If `_ITERATOR_DEBUG_LEVEL` is defined as 1 or 2, unsafe use of iterators causes a runtime error and the program is terminated. If defined as 0, checked iterators are disabled. By default, the value for `_ITERATOR_DEBUG_LEVEL` is 0 for release builds and 2 for debug builds.
17+
You can use the [`_ITERATOR_DEBUG_LEVEL`](iterator-debug-level.md) preprocessor macro to enable or disable the checked iterators feature. If `_ITERATOR_DEBUG_LEVEL` is defined as 1 or 2, unsafe use of iterators causes a runtime error and the program is terminated. If defined as 0, checked iterators are disabled. By default, the value for `_ITERATOR_DEBUG_LEVEL` is 0 for release builds and 2 for debug builds.
1818

1919
> [!IMPORTANT]
20-
> Older documentation and source code may refer to the [`_SECURE_SCL`](../standard-library/secure-scl.md) macro. Use `_ITERATOR_DEBUG_LEVEL` to control `_SECURE_SCL`. For more information, see [`_ITERATOR_DEBUG_LEVEL`](../standard-library/iterator-debug-level.md).
20+
> Older documentation and source code may refer to the [`_SECURE_SCL`](secure-scl.md) macro. Use `_ITERATOR_DEBUG_LEVEL` to control `_SECURE_SCL`. For more information, see [`_ITERATOR_DEBUG_LEVEL`](iterator-debug-level.md).
2121
2222
When `_ITERATOR_DEBUG_LEVEL` is defined as 1 or 2, these iterator checks are performed:
2323

24-
- All standard iterators (for example, [`vector::iterator`](../standard-library/vector-class.md#iterator)) are checked.
24+
- All standard iterators (for example, [`vector::iterator`](vector-class.md#iterator)) are checked.
2525

26-
- If an output iterator is a checked iterator, calls to standard library functions such as [`std::copy`](../standard-library/algorithm-functions.md#copy) get checked behavior.
26+
- If an output iterator is a checked iterator, calls to standard library functions such as [`std::copy`](algorithm-functions.md#copy) get checked behavior.
2727

2828
- If an output iterator is an unchecked iterator, calls to standard library functions cause compiler warnings.
2929

3030
- The following functions generate a runtime error if there is an access that is outside the bounds of the container:
3131

3232
:::row:::
3333
:::column span="":::
34-
  [`basic_string::operator[]`](../standard-library/basic-string-class.md#op_at)\
35-
  [`bitset::operator[]`](../standard-library/bitset-class.md#op_at)\
36-
  [`deque::back`](../standard-library/deque-class.md#back)\
37-
  [`deque::front`](../standard-library/deque-class.md#front)
34+
  [`basic_string::operator[]`](basic-string-class.md#op_at)\
35+
  [`bitset::operator[]`](bitset-class.md#op_at)\
36+
  [`deque::back`](deque-class.md#back)\
37+
  [`deque::front`](deque-class.md#front)
3838
:::column-end:::
3939
:::column span="":::
40-
[`deque::operator[]`](../standard-library/deque-class.md#op_at)\
41-
[`list::back`](../standard-library/list-class.md#back)\
42-
[`list::front`](../standard-library/list-class.md#front)\
43-
[`queue::back`](../standard-library/queue-class.md#back)
40+
[`deque::operator[]`](deque-class.md#op_at)\
41+
[`list::back`](list-class.md#back)\
42+
[`list::front`](list-class.md#front)\
43+
[`queue::back`](queue-class.md#back)
4444
:::column-end:::
4545
:::column span="":::
46-
[`queue::front`](../standard-library/queue-class.md#front)\
47-
[`vector::back`](../standard-library/vector-class.md#back)\
48-
[`vector::front`](../standard-library/vector-class.md#front)\
49-
[`vector::operator[]`](../standard-library/vector-class.md#op_at)
46+
[`queue::front`](queue-class.md#front)\
47+
[`vector::back`](vector-class.md#back)\
48+
[`vector::front`](vector-class.md#front)\
49+
[`vector::operator[]`](vector-class.md#op_at)
5050
:::column-end:::
5151
:::row-end:::
5252

@@ -60,7 +60,7 @@ When `_ITERATOR_DEBUG_LEVEL` is defined as 0:
6060

6161
A checked iterator refers to an iterator that calls `invalid_parameter_handler` if you attempt to move past the boundaries of the container. For more information about `invalid_parameter_handler`, see [Parameter Validation](../c-runtime-library/parameter-validation.md).
6262

63-
The iterator adaptors that support checked iterators are [`checked_array_iterator` Class](../standard-library/checked-array-iterator-class.md) and [`unchecked_array_iterator` Class](../standard-library/unchecked-array-iterator-class.md).
63+
The iterator adaptors that support checked iterators are [`checked_array_iterator` Class](checked-array-iterator-class.md) and [`unchecked_array_iterator` Class](unchecked-array-iterator-class.md).
6464

6565
## Examples
6666

@@ -219,5 +219,5 @@ a8: 0 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120
219219

220220
## See also
221221

222-
[C++ Standard Library Overview](../standard-library/cpp-standard-library-overview.md)\
223-
[Debug Iterator Support](../standard-library/debug-iterator-support.md)
222+
[C++ Standard Library Overview](cpp-standard-library-overview.md)\
223+
[Debug Iterator Support](debug-iterator-support.md)

0 commit comments

Comments
 (0)