add isnotnull method to refcntr

This commit is contained in:
Jean-Francois Dockes 2010-12-21 10:33:26 +01:00
parent c79410da94
commit 706b0122a6

View File

@ -50,6 +50,7 @@ public:
const X *getconstptr() const {return rep;}
int getcnt() const {return pcount ? *pcount : 0;}
bool isNull() const {return rep == 0;}
bool isNotNull() const {return rep != 0;}
};