Home | History | Annotate | Download | only in util.smartptr.shared

Lines Matching refs:state_

35     int state_;
39 test_deleter() : state_(0) {++count;}
40 explicit test_deleter(int s) : state_(s) {++count;}
42 : state_(d.state_) {++count;}
43 ~test_deleter() {assert(state_ >= 0); --count; state_ = -1;}
45 int state() const {return state_;}
46 void set_state(int i) {state_ = i;}
48 void operator()(T* p) {assert(state_ >= 0); ++dealloc_count; delete p;}