Deprecations

From libsimdpp-docs

The libsimdpp library maintains backwards compatibility as much as possible. However, in some cases it is not possible to fix bugs without API changes. The library can be selectively configured to provide the either the new or old API for each API change. This page lists the macros that affect the APIs provided by the library.

The macros must be defined before inclusion of the library headers in order to work as advertised.

Disabling deprecated APIs by release[edit]

The following macros can be used to disable APIs that have been deprecated by the time of a particular release.

SIMDPP_DISABLE_DEPRECATED_IN_2_1_AND_OLDER
will disable APIs deprecated in 2.1 release if defined to 1
(macro constant)

Granular deprecated API control[edit]

The macros outlined within this section will be automatically defined to 1 if they are not defined by the user and corresponding SIMDPP_DISABLE_DEPRECATED_IN_X_Y_AND_OLDER macro is defined. If both are defined, then the macros in this section take precedence.

Deprecated in 2.1 release
will disable implicit conversion operators from vector to native types if defined to 1
(macro constant)