Skip to content

callstack_cxx_compat.hpp

mhahnFr edited this page Nov 8, 2024 · 2 revisions

This header contains helper definitions used across the public headers of the CallstackLibrary.

This header has been added with version 2.1.

Definitions

LCS_NOEXCEPT

Defines that a function must not throw any exception - throw() in C++98 and noexcept in C++11 and newer.

Note

Added in version 1.1.

LCS_CONSTEXPR

Defines that a function creates a constant expression - not used prior to C++11, where the macro becomes constexpr.

Note

Added in version 1.1.

LCS_OVERRIDE

Marks methods that override a method from a parent class - not used prior to C++11, where the macro becomes override.

Note

Added in version 1.1.

LCS_NULL

Defines a pointer to nothing - NULL in C++98 and nullptr in C++11 and newer.

Note

Added in version 1.1.