rapidyaml  0.16.0
parseandemitYAML,anddoitfast
doxy_common.hpp File Reference

Go to the source code of this file.

Namespaces

 c4
 
 c4::yml
 

Macros

#define RYML_USE_ASSERT
 define this macro with a boolean value to enable/disable assertions to check preconditions and assumptions throughout the codebase; this causes a slowdown of the code, and larger code size. More...
 
#define RYML_NO_DEFAULT_CALLBACKS
 (Undefined by default) Define this macro to disable ryml's default implementation of the callback functions. More...
 
#define RYML_DEFAULT_CALLBACK_USES_EXCEPTIONS
 (Undefined by default) When this macro is defined (and RYML_NO_DEFAULT_CALLBACKS is not defined), the default error handler will throw exceptions. More...
 
#define RYML_NOEXCEPT
 Conditionally expands to noexcept when RYML_USE_ASSERT is 0 and is empty otherwise. More...
 

Macro Definition Documentation

#define RYML_USE_ASSERT

define this macro with a boolean value to enable/disable assertions to check preconditions and assumptions throughout the codebase; this causes a slowdown of the code, and larger code size.

By default, this macro is defined unless NDEBUG is defined (see C4_USE_ASSERT); as a result, by default this macro is truthy only in debug builds.

Definition at line 277 of file doxy_common.hpp.

#define RYML_NO_DEFAULT_CALLBACKS

(Undefined by default) Define this macro to disable ryml's default implementation of the callback functions.

See Callbacks for errors and allocation.

Definition at line 281 of file doxy_common.hpp.

#define RYML_DEFAULT_CALLBACK_USES_EXCEPTIONS

(Undefined by default) When this macro is defined (and RYML_NO_DEFAULT_CALLBACKS is not defined), the default error handler will throw exceptions.

See Error handling.

Definition at line 286 of file doxy_common.hpp.

#define RYML_NOEXCEPT

Conditionally expands to noexcept when RYML_USE_ASSERT is 0 and is empty otherwise.

The user is unable to override this macro.

Definition at line 290 of file doxy_common.hpp.