From Jason Turner

[depr.util.smartptr.shared.obs]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpe0fhg770/{from.md → to.md} +20 -0
tmp/tmpe0fhg770/{from.md → to.md} RENAMED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## Deprecated `shared_ptr` observers <a id="depr.util.smartptr.shared.obs">[[depr.util.smartptr.shared.obs]]</a>
2
+
3
+ The following member is defined in addition to those members specified
4
+ in [[util.smartptr.shared]]:
5
+
6
+ ``` cpp
7
+ namespace std {
8
+ template<class T> class shared_ptr {
9
+ public:
10
+ bool unique() const noexcept;
11
+ };
12
+ }
13
+ ```
14
+
15
+ ``` cpp
16
+ bool unique() const noexcept;
17
+ ```
18
+
19
+ *Returns:* `use_count() == 1`.
20
+