File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,10 @@ Define this to `scope_SCOPE_STD` to select standard's version. Define this to `s
94
94
95
95
TBD
96
96
97
- ## Building the tests
97
+ <!-- ## Building the tests
98
98
99
99
TBD
100
+ -->
100
101
101
102
## Other implementations of scope
102
103
@@ -135,12 +136,15 @@ scope_success: exit function is not called when an exception occurs
135
136
scope_success: exit function is not called when released
136
137
unique_resource: a successfully acquired resource is deleted
137
138
unique_resource: an unsuccessfully acquired resource is not deleted
138
- unique_resource: op=() replaces the managed resouce and the deleter with the give one's
139
+ unique_resource: move construction moves the managed resource and the deleter from the give one's [move-construction]
140
+ unique_resource: assignment replaces the managed resource and the deleter with the give one's [move-assignment]
139
141
unique_resource: reset() executes deleter
140
142
unique_resource: reset(resource) deletes original resource and replaces it with the given one
141
143
unique_resource: release() releases the ownership and prevents execution of deleter
142
144
unique_resource: get() provides the underlying resource handle
143
145
unique_resource: get_deleter() provides the deleter used for disposing of the managed resource
144
146
unique_resource: op*() provides the pointee if the resource handle is a pointer
145
- unique_resource: op->() provides the pointee if the resource handle is a pointer
147
+ unique_resource: op->() provides the pointee if the resource handle is a pointer
148
+ unique_resource: [move-construction][resource-copy-ctor-throws]
149
+ unique_resource: [move-construction][deleter-copy-ctor-throws]
146
150
```
You can’t perform that action at this time.
0 commit comments