CyberEngineMkIII
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Namespaces | Macros
Assert.hpp File Reference

Defines assertion functions and macros. More...

#include "Assert.inl"
Include dependency graph for Assert.hpp:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Defines assertion functions and macros.

Definition in file Assert.hpp.