const version of get() which won't barf when at or behind end of memory. Can be used to test for end of sequence.
parent
6942101c06
commit
7622272c39
|
|
@ -85,6 +85,11 @@ public:
|
|||
return mObjectp;
|
||||
}
|
||||
|
||||
Object const* get() const
|
||||
{
|
||||
return mObjectp;
|
||||
}
|
||||
|
||||
Object* operator->()
|
||||
{
|
||||
if( !assertValid( mBytep ) )
|
||||
|
|
|
|||
Loading…
Reference in New Issue