Skip to content

Commit ef934d9

Browse files
authored
Trim relative links in "Function Objects in the C++ Standard Library" article
1 parent f9fb8ef commit ef934d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/standard-library/function-objects-in-the-stl.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The last line of the `main` function shows how you call the function object. Thi
3838

3939
## Function Objects and Containers
4040

41-
The C++ Standard Library contains several function objects in the [`<functional>`](../standard-library/functional.md) header file. One use of these function objects is as a sorting criterion for containers. For example, the `set` container is declared as follows:
41+
The C++ Standard Library contains several function objects in the [`<functional>`](functional.md) header file. One use of these function objects is as a sorting criterion for containers. For example, the `set` container is declared as follows:
4242

4343
```cpp
4444
template <class Key,
@@ -61,8 +61,8 @@ ForwardIterator remove_if(
6161
Predicate pred);
6262
```
6363

64-
The last argument to `remove_if` is a function object that returns a boolean value (a *predicate*). If the result of the function object is **`true`**, then the element is shifted such that it's beyond the new end returned by `remove_if`. You can use any of the function objects declared in the [`<functional>`](../standard-library/functional.md) header for the argument `pred` or you can create your own.
64+
The last argument to `remove_if` is a function object that returns a boolean value (a *predicate*). If the result of the function object is **`true`**, then the element is shifted such that it's beyond the new end returned by `remove_if`. You can use any of the function objects declared in the [`<functional>`](functional.md) header for the argument `pred` or you can create your own.
6565

6666
## See also
6767

68-
[C++ Standard Library Reference](../standard-library/cpp-standard-library-reference.md)
68+
[C++ Standard Library Reference](cpp-standard-library-reference.md)

0 commit comments

Comments
 (0)