docs: Compiler Explorer link to basic operations example updated

This commit is contained in:
Mateusz Pusz
2024-09-13 10:48:46 +02:00
parent 866550eefc
commit 93f41cf499
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ static_assert(10 * km / (5 * km) == 2 * one);
static_assert(1000 / (1 * s) == 1 * kHz);
```
_Try it on the [Compiler Explorer](https://godbolt.org/z/8acPeq743)._
_Try it on the [Compiler Explorer](https://godbolt.org/z/fT1r4sohs)._
This library heavily uses C++20 features (concepts, classes as NTTPs, ...). Thanks to
them the user gets a powerful but still easy to use interfaces and all unit conversions

View File

@@ -56,7 +56,7 @@ Here is a small example of operations possible on scalar quantities:
static_assert(1000 / (1 * s) == 1 * kHz);
```
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/8acPeq743)"
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/fT1r4sohs)"
This library requires some C++20 features ([concepts and constraints](https://en.cppreference.com/w/cpp/language/constraints),