--- parser3/src/include/pa_memory.h 2003/02/26 10:17:30 1.1.2.3 +++ parser3/src/include/pa_memory.h 2003/02/26 11:29:58 1.1.2.4 @@ -9,7 +9,7 @@ #ifndef PA_MEMORY_H #define PA_MEMORY_H -static const char* IDENT_MEMORY_H="$Date: 2003/02/26 10:17:30 $"; +static const char* IDENT_MEMORY_H="$Date: 2003/02/26 11:29:58 $"; // include @@ -150,6 +150,9 @@ public: operator bool() const { return get()!=0; } + bool operator !() const { + return get()==0; + } operator T*() const { return ptr; }