We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a367d70 commit 7b40f33Copy full SHA for 7b40f33
README.md
@@ -57,7 +57,7 @@ Many causal users of ```std::any``` may be surprised to find that ```std::any```
57
#### Constructors
58
59
1. // set to empty state
60
-any_share_ptr();
+constexpr any_share_ptr() noexcept;
61
62
2. template\<typename T>
63
any_share_ptr(std::shared_ptr<T> ptr);
@@ -79,7 +79,7 @@ bool has_value() const;
79
const std::info_type & type() const;
80
81
7. // returns the number of shared_ptr objects referring to the same managed object
82
-bool use_count() const;
+bool use_count() const noexcept;
83
84
### Non-member functions
85
0 commit comments