#include <MboRefCntPtr.h>
Public Member Functions | |
_Ty & | operator * () |
const _Ty & | operator * () const |
operator bool () const | |
Classes | |
class | nullptr_access |
exception for null-pointer access violations More... |
This null pointer implementation throws an error for any read access, However write access is not implemented yet.
Definition at line 151 of file MboRefCntPtr.h.
_Ty& mbo::NullPointer< _Ty >::operator * | ( | ) | [inline] |
Read access throws a nullptr_access expection
exception | nullptr_access |
Definition at line 173 of file MboRefCntPtr.h.
00174 { 00175 throw nullptr_access(); 00176 #if defined(_MSC_VER) && _MSC_VER < 1300 00177 return *((_Ty*)(0)); 00178 #endif 00179 }
const _Ty& mbo::NullPointer< _Ty >::operator * | ( | ) | const [inline] |
Read access throws a nullptr_access expection
exception | nullptr_access |
Definition at line 184 of file MboRefCntPtr.h.
00185 { 00186 throw nullptr_access(); 00187 #if defined(_MSC_VER) && _MSC_VER < 1300 00188 return *((const _Ty*)(0)); 00189 #endif 00190 }
mbo::NullPointer< _Ty >::operator bool | ( | ) | const [inline] |
Read access throws a nullptr_access expection
exception | nullptr_access |
Definition at line 195 of file MboRefCntPtr.h.
Hosted on code.google.com | © Marcus Börger | Generated on Fri Jan 18 21:21:12 2008 for MBO-lib by ![]() |