Lines Matching defs:control
270 control_block *control;
273 shared_ptr() : p(0), control(0) {}
274 explicit shared_ptr(T *p) : p(p), control(new control_block) {
275 control->retain();
277 shared_ptr(const shared_ptr &other) : p(other.p), control(other.control) {
278 if (control)
279 control->retain();
282 if (control && control->release() == 0) {
284 delete control;
297 control_block *ctrlTmp = control;
298 control = other.control;
299 other.control = ctrlTmp;