| 142 | bool expired() const { return weak_node == 0 || weak_node->shared_node == 0; } |
| 143 | |
| 144 | shared_ptr<T> lock( |
| 145 | ) const |
| 146 | { |
| 147 | if (expired()) |
| 148 | return shared_ptr<T>(); |
| 149 | else |
| 150 | return shared_ptr<T>(*this); |
| 151 | } |
| 152 | |
| 153 | void reset( |
| 154 | ) |
no outgoing calls
no test coverage detected