Skip to content

Commit 8362b6f

Browse files
author
Michael Blome
committed
fixed messed up links in formerly mess-up topic
1 parent 31da59e commit 8362b6f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/standard-library/shared-ptr-class.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ shared_ptr<int> sp6(sp2); // error, template parameter int and argument shared
8282
8383
- if it was constructed from a `shared_ptr` object that owns that resource,
8484
85-
- if it was constructed from a [weak_ptr Class](../Topic/weak_ptr%20Class.md) object that points to that resource, or
85+
- if it was constructed from a [weak_ptr Class](weak_ptr-class.md) object that points to that resource, or
8686
8787
- if ownership of that resource was assigned to it, either with [shared_ptr::operator=](#shared_ptr__operator_eq) or by calling the member function [shared_ptr::reset](#shared_ptr__reset).
8888
@@ -581,7 +581,7 @@ shared_ptr(const unique_ptr<Other, D>& up) = delete;
581581
The auto pointer to copy.
582582

583583
### Remarks
584-
The constructors each construct an object that owns the resource named by the operand sequence. The constructor `shared_ptr(const weak_ptr<Other>& wp)` throws an exception object of type [bad_weak_ptr Class](../Topic/bad_weak_ptr%20Class.md) if `wp.expired()`.
584+
The constructors each construct an object that owns the resource named by the operand sequence. The constructor `shared_ptr(const weak_ptr<Other>& wp)` throws an exception object of type [bad_weak_ptr Class](bad_weak_ptr-class.md) if `wp.expired()`.
585585

586586
### Example
587587

@@ -843,8 +843,8 @@ sp1.use_count() == 2
843843
```
844844

845845
## See Also
846-
[weak_ptr Class](../Topic/weak_ptr%20Class.md)
847-
[Thread Safety in the C++ Standard Library](../Topic/Thread%20Safety%20in%20the%20C++%20Standard%20Library.md)
846+
[weak_ptr Class](weak_ptr-class.md)
847+
[Thread Safety in the C++ Standard Library](thread-safety-in-the-cpp-standard-library.md)
848848

849849

850850

0 commit comments

Comments
 (0)