rad 8.2.0
Loading...
Searching...
No Matches
assert.hpp File Reference

Assert header file. More...

Go to the source code of this file.

Namespaces

namespace  rad
 

Macros

#define RAD_ASSERT(a)
 
#define RAD_ASSERTPTR(a)
 
#define RAD_ASSERTNEVER()
 

Functions

void rad::Assert (bool condition, const char *filename, const char *functionname, int linenumber)
 

Detailed Description

Assert header file.

Author
landolfa

Macro Definition Documentation

◆ RAD_ASSERT

#define RAD_ASSERT ( a)
Value:
rad::Assert(a, __FILE__, __FUNCTION__, __LINE__)
void Assert(bool condition, const char *filename, const char *functionname, int linenumber)
Definition assert.cpp:15

◆ RAD_ASSERTNEVER

#define RAD_ASSERTNEVER ( )
Value:
rad::Assert(false, __FILE__, __FUNCTION__, __LINE__)

◆ RAD_ASSERTPTR

#define RAD_ASSERTPTR ( a)
Value:
rad::Assert(a != nullptr, __FILE__, __FUNCTION__, __LINE__)