style: whitespaces and formatting fixed to make pre-commit happy

This commit is contained in:
Mateusz Pusz
2023-06-21 11:28:24 +02:00
parent 6a17eec09c
commit 3725db4243
8 changed files with 29 additions and 27 deletions

View File

@@ -28,7 +28,7 @@ static_assert(1000 / (1 * s) == 1 * kHz);
```
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/j8afKnarv)"
This library requires some C++20 features ([concepts and constraints](https://en.cppreference.com/w/cpp/language/constraints),
[classes as NTTP](https://en.cppreference.com/w/cpp/language/template_parameters), ...). Thanks to them,

View File

@@ -6,18 +6,18 @@
To achieve that, it extensively uses C++20 features and the
[explicit object parameter](https://en.cppreference.com/w/cpp/language/member_functions#Explicit_object_parameter)
from C++23.
Even though the library benefits from C++23 (if available), C++20 is enough to compile and
use all of the library's functionality. C++23 features are hidden behind a preprocessor macro
providing a backward-compatible way to use it.
Sadly, as of today, not many compilers provide full C++20 support. The library compiles fine
on the following compilers (or newer):
- gcc-12.2
In the upcoming weeks, we will be actively working to extend the support to other compilers as well.
## Repository Structure and Dependencies
@@ -286,7 +286,7 @@ To obtain an official library release, the following steps may be performed:
```ini title="conanfile.txt"
[requires]
mp-units/0.8.0
[layout]
cmake_layout

View File

@@ -73,4 +73,4 @@ auto speed = 60 * kmph;
!!! note
In case you wonder why this library does not use UDLs to create quantities, please check
our [FAQ](../faq/#why-dont-we-use-udls-to-create-quantities).
our [FAQ](../faq/#why-dont-we-use-udls-to-create-quantities).