line |
true |
false |
branch |
21
|
13 |
0 |
iptr (T* pointer) : ptr(pointer) { if (ptr) refcnt_inc(ptr); } |
|
13 |
0 |
iptr (T* pointer) : ptr(pointer) { if (ptr) refcnt_inc(ptr); } |
|
119 |
0 |
iptr (T* pointer) : ptr(pointer) { if (ptr) refcnt_inc(ptr); } |
22
|
19 |
0 |
iptr (const iptr& oth) : ptr(oth.ptr) { if (ptr) refcnt_inc(ptr); } |
38
|
0 |
13 |
~iptr () { if (ptr) refcnt_dec(ptr); } |
|
0 |
0 |
~iptr () { if (ptr) refcnt_dec(ptr); } |
|
0 |
0 |
~iptr () { if (ptr) refcnt_dec(ptr); } |
|
0 |
0 |
~iptr () { if (ptr) refcnt_dec(ptr); } |
|
140 |
22 |
~iptr () { if (ptr) refcnt_dec(ptr); } |
41
|
4 |
0 |
if (pointer) refcnt_inc(pointer); |
42
|
2 |
2 |
if (ptr) refcnt_dec(ptr); |
137
|
43 |
235 |
if (_refcnt > 1) --_refcnt; |
138
|
235 |
0 |
else delete this; |
179
|
0 |
0 |
if (!--_refcnt) delete this; |
|
0 |
0 |
if (!--_refcnt) delete this; |