|
CyberEngineMkIII
|
Defines assertion functions and macros. More...
#include "Assert.inl"

Go to the source code of this file.
Classes | |
| class | CYB::API::Assert |
| Contains assertion functions. More... | |
Namespaces | |
| CYB | |
| Encapsulates the engine in it's entirety. | |
| CYB::API | |
| Namespace containing the public API define EXPLICIT_API_USAGE to prevent automatic 'using'. | |
Macros | |
| #define | NOP static_cast<void>(nullptr) |
| No operation macro. | |
| #define | BREAK NOP |
| Breaks code execution at line used if DEBUG is defined. Must be defined by user otherwise. | |
| #define | UNREACHABLE |
| Used for hardcore unreachable code paths when Assert::HCF is not enough. Should generally be avoided in units. | |
| #define | UNREACHABLE __builtin_unreachable() |
| Used for hardcore unreachable code paths when Assert::HCF is not enough. Should generally be avoided in units. | |
| #define | UNIMPLEMENTED CYB::API::Assert::Unimplemented(__FUNCTION__, __FILE__, __LINE__) |
| Quick macro for supplying CYB::API::Assert::Unimplemented with the correct parameters. | |
Defines assertion functions and macros.
Definition in file Assert.hpp.
1.8.6