docs: Compiler Explorer links updated to reflect the systems file tree refactoring

This commit is contained in:
Mateusz Pusz
2024-05-09 18:08:13 +02:00
parent e4232b5834
commit 15404cd3a7
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ tags:
# `avg_speed`
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/vvxbMjeof)"
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/EYo7879qd)"
Let's continue the previous example. This time, our purpose will not be to showcase as many
library features as possible, but we will scope on different interfaces one can provide
+1 -1
View File
@@ -6,7 +6,7 @@ tags:
# `hello_units`
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/d5hhrEsPW)"
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/KKGGhKjqn)"
This is a really simple example showcasing the features of the **mp-units** library.
+1 -1
View File
@@ -6,7 +6,7 @@ tags:
# `si_constants`
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/bd7Gee1G3)"
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/sEqWcchdE)"
The next example presents all the seven defining constants of the SI system. We can observe
how [Faster-than-lightspeed Constants](../framework_basics/faster_than_lightspeed_constants.md)
@@ -114,7 +114,7 @@ The code above prints:
A car driving 110 km in 2 h has an average speed of 15.28 m/s (55 km/h)
```
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/h1nne9eaG)"
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/W93ovssda)"
### User-provided unit wrappers
@@ -232,7 +232,7 @@ The previous example can be re-typed using typed quantities in the following way
A car driving 110 km in 2 h has an average speed of 15.28 m/s (55 km/h)
```
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/aYGdrWsT6)"
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/MEK1ooEjo)"
In case we will accidentally make the same calculation error as before, this time, we will
get a bit longer error message, this time also containing information about the quantity type: