Skip to content

Commit 7b40f33

Browse files
Tidy up README.md
1 parent a367d70 commit 7b40f33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Many causal users of ```std::any``` may be surprised to find that ```std::any```
5757
#### Constructors
5858

5959
1. // set to empty state
60-
any_share_ptr();
60+
constexpr any_share_ptr() noexcept;
6161

6262
2. template\<typename T>
6363
any_share_ptr(std::shared_ptr<T> ptr);
@@ -79,7 +79,7 @@ bool has_value() const;
7979
const std::info_type & type() const;
8080

8181
7. // returns the number of shared_ptr objects referring to the same managed object
82-
bool use_count() const;
82+
bool use_count() const noexcept;
8383

8484
### Non-member functions
8585

0 commit comments

Comments
 (0)