![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include "cDebugAssert.h"
Go to the source code of this file.
Namespaces | |
Gray | |
< The main namespace for all Core functions. | |
Macros | |
#define | DYNPTR_CAST(t, p) (static_cast <t*>(p)) |
#define | IS_TYPE_OF(t, p) true |
#define | CHECKPTR_CAST(t, p) (::Gray::check_cast<t>(p)) |
Functions | |
template<class _TYPE_TO , class _TYPE_FROM > | |
bool | Gray::is_valid_cast (_TYPE_FROM *p) |
template<class _TYPE_TO , class _TYPE_FROM > | |
_TYPE_TO * | Gray::check_cast (_TYPE_FROM *p) |
A pointer to some struct or class. Not used for pointers to basic/intrinsic types.
#define CHECKPTR_CAST | ( | t, | |
p | |||
) | (::Gray::check_cast<t>(p)) |
#define DYNPTR_CAST | ( | t, | |
p | |||
) | (static_cast <t*>(p)) |
#define IS_TYPE_OF | ( | t, | |
p | |||
) | true |