Skip to content

Commit

Permalink
Documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Oct 14, 2024
1 parent 9e866b8 commit 316f4ce
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions doc/smart_ptr/shared_array.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ T* get() const noexcept;
[none]
* {blank}
+
Returns:: The stored pointer.
Returns::
The stored pointer.

### unique

Expand All @@ -220,8 +221,8 @@ bool unique() const noexcept;
[none]
* {blank}
+
Returns:: `true` if no other `shared_array` is sharing ownership of the
stored pointer, `false` otherwise.
Returns::
`true` if no other `shared_array` is sharing ownership of the stored pointer, `false` otherwise.

### use_count

Expand Down Expand Up @@ -253,7 +254,8 @@ void swap(shared_array<T>& b) noexcept;
[none]
* {blank}
+
Effects:: Exchanges the contents of the two smart pointers.
Effects::
Exchanges the contents of the two smart pointers.

## Free Functions

Expand Down

0 comments on commit 316f4ce

Please sign in to comment.