OMNI_ALLOW_UB
MACRO

OMNI_ALLOW_UB - If defined, this allows the framework to compile with undefined behavior.

SYNOPSIS top

When OMNI_NO_EXCEPT and OMNI_NO_THROW and OMNI_NO_TERMINATE are all defined, this must be defined to allow undefined behavior within the framework.

DESCRIPTION top

The framework is designed to allow a great amount of build flexibility and portability, to this you can define that the framework does not utilize certain error handling constructs, like calling std::terminate or throwing exceptions.

However, in the event you build the framework without any error handling, you must explicitly define this macro to allow the framework to run without error checking and thus potentially run into undefined behavior with any input or output.

CONSIDERATIONS top

If defined, all error handling and data validation to and from the framework is left to the user.

PLATFORM SPECIFIC top

No platform specific notes.

NOTES top

This flag only has an effect if OMNI_NO_EXCEPT and OMNI_NO_THROW and OMNI_NO_TERMINATE are all defined.