Skip to content

Commit 5eec8c2

Browse files
authored
Update SharedPtr.md
1 parent c459970 commit 5eec8c2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/reference/api/platform/SharedPtr.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
## Shared Pointer
22

3-
A shared pointer is a "smart" pointer that retains ownership of an object using
3+
A shared pointer is a "smart" pointer that retains ownership of an object by using
44
reference counting accross all smart pointers referencing that object.
55

6-
It is similar to the `std::shared_ptr` class introduced in C++11,
7-
however this is not a compatible implementation (no weak pointer, no make_shared, no custom deleters, etc.)
6+
It is similar to the `std::shared_ptr` class introduced in C++11. However, this is not a compatible implementation, as there are no weak pointers, no `make_shared`, no custom deleters, and so on.
87

98
Usage: `SharedPtr<Class> ptr(new Class())`
109

0 commit comments

Comments
 (0)