mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 13:14:29 +02:00
docs: 2.2 release annonuncement updated
This commit is contained in:
@@ -158,11 +158,6 @@ three values:
|
|||||||
- `False` - The feature is disabled, and an older alternative is always used.
|
- `False` - The feature is disabled, and an older alternative is always used.
|
||||||
- `Auto` - The feature is automatically enabled if the compiler supports it (old behavior).
|
- `Auto` - The feature is automatically enabled if the compiler supports it (old behavior).
|
||||||
|
|
||||||
Before this release, the library always depended on [gsl-lite](https://github.com/gsl-lite/gsl-lite)
|
|
||||||
to perform runtime contract and asserts checking. In this release we introduced new options
|
|
||||||
to control if contract checking should be based on [gsl-lite](https://github.com/gsl-lite/gsl-lite),
|
|
||||||
[ms-gsl](https://github.com/microsoft/GSL), or maybe completely disabled.
|
|
||||||
|
|
||||||
Additionally, some CMake options were renamed to better express the impact on our users
|
Additionally, some CMake options were renamed to better express the impact on our users
|
||||||
(:boom: **breaking change** :boom:). For example, now CMake options include:
|
(:boom: **breaking change** :boom:). For example, now CMake options include:
|
||||||
|
|
||||||
@@ -171,6 +166,21 @@ Additionally, some CMake options were renamed to better express the impact on ou
|
|||||||
- `MP_UNITS_DEV_*` - options primarily useful for the project developers or people who want to
|
- `MP_UNITS_DEV_*` - options primarily useful for the project developers or people who want to
|
||||||
compile our unit tests and examples.
|
compile our unit tests and examples.
|
||||||
|
|
||||||
|
|
||||||
|
## Configurable contracts checking
|
||||||
|
|
||||||
|
Before this release, the library always depended on [gsl-lite](https://github.com/gsl-lite/gsl-lite)
|
||||||
|
to perform runtime contract and asserts checking. In this release we introduced new options
|
||||||
|
to control if contract checking should be based on [gsl-lite](https://github.com/gsl-lite/gsl-lite),
|
||||||
|
[ms-gsl](https://github.com/microsoft/GSL), or maybe completely disabled.
|
||||||
|
|
||||||
|
|
||||||
|
## Freestanding support
|
||||||
|
|
||||||
|
From this release it is possible to configure the library in the
|
||||||
|
[freestanding](https://en.cppreference.com/w/cpp/freestanding) mode. This limits the functionality
|
||||||
|
and interface of the library to be compatible with the freestanding implementations.
|
||||||
|
|
||||||
!!! info
|
!!! info
|
||||||
|
|
||||||
To learn more, please refer to the [Build options](../../getting_started/installation_and_usage.md#build-options)
|
To learn more, please refer to the [Build options](../../getting_started/installation_and_usage.md#build-options)
|
||||||
|
Reference in New Issue
Block a user