Copyright:
Copyright (C) 2002 Oliver Schoenborn
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
You can redistribute it and/or modify it under the terms found in the LICENSE file that is included in the library distribution.
Definition in file CheckedPtr.hh.#include <assert.h>
#include "nullness.hh"
Include dependency graph for CheckedPtr.hh:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | MangoPtr |
Functions | |
template<typename T> bool | isNull (const MangoPtr::CheckedPtr< T > &p) |
Test if a pointer (held by a CheckedPtr proxy) is null. | |
template<typename T> bool | isNotNull (const MangoPtr::CheckedPtr< T > &p) |
Test if a pointer (held by a CheckedPtr proxy) is not null. |
|
Test if a pointer (held by a CheckedPtr proxy) is null. Use this instead of comparing to NULL.
Definition at line 114 of file CheckedPtr.hh. References isNotNull(). |
|
Test if a pointer (held by a CheckedPtr proxy) is not null. Use this instead of comparing to NULL.
Definition at line 122 of file CheckedPtr.hh. Referenced by isNull(). |