From 13fbd3c35c37919d4bbfa8a9830d2728718cfed1 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sat, 20 Apr 2024 10:59:15 +0100 Subject: [PATCH] docs: Compiler Explorer links updated --- README.md | 2 +- docs/getting_started/look_and_feel.md | 2 +- docs/index.md | 2 +- docs/users_guide/examples/avg_speed.md | 2 +- docs/users_guide/examples/hello_units.md | 2 +- docs/users_guide/examples/si_constants.md | 2 +- .../framework_basics/simple_and_typed_quantities.md | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 29770b050..7df515ce8 100644 --- a/README.md +++ b/README.md @@ -126,4 +126,4 @@ int main() } ``` -_Try it on the [Compiler Explorer](https://godbolt.org/z/n8GEdfeed)._ +_Try it on the [Compiler Explorer](https://godbolt.org/z/Pe8ah9WYT)._ diff --git a/docs/getting_started/look_and_feel.md b/docs/getting_started/look_and_feel.md index ed6052b18..7d83b697b 100644 --- a/docs/getting_started/look_and_feel.md +++ b/docs/getting_started/look_and_feel.md @@ -150,7 +150,7 @@ performed without sacrificing accuracy. Please see the below example for a quick } ``` -!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/n8GEdfeed)" +!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/Pe8ah9WYT)" !!! note diff --git a/docs/index.md b/docs/index.md index 795cbccab..87347e2b4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -69,7 +69,7 @@ Output: Harvard Bridge length = 364.4 smoot (2034.6 ft, 620.14 m) ± 1 εar ``` -!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/x77WEWahs)" +!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/j5GhdEWv5)" ??? question "What is `smoot`?" diff --git a/docs/users_guide/examples/avg_speed.md b/docs/users_guide/examples/avg_speed.md index 704730f99..a519bf8ec 100644 --- a/docs/users_guide/examples/avg_speed.md +++ b/docs/users_guide/examples/avg_speed.md @@ -7,7 +7,7 @@ tags: # `avg_speed` -!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/75zWdffj1)" +!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/vvxbMjeof)" 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 diff --git a/docs/users_guide/examples/hello_units.md b/docs/users_guide/examples/hello_units.md index 61656ef24..396135640 100644 --- a/docs/users_guide/examples/hello_units.md +++ b/docs/users_guide/examples/hello_units.md @@ -6,7 +6,7 @@ tags: # `hello_units` -!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/Tsesa1Pvq)" +!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/d5hhrEsPW)" This is a really simple example showcasing the features of the **mp-units** library. diff --git a/docs/users_guide/examples/si_constants.md b/docs/users_guide/examples/si_constants.md index 8e46816ea..6da20d571 100644 --- a/docs/users_guide/examples/si_constants.md +++ b/docs/users_guide/examples/si_constants.md @@ -6,7 +6,7 @@ tags: # `si_constants` -!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/96hPY77h6)" +!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/bd7Gee1G3)" 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) diff --git a/docs/users_guide/framework_basics/simple_and_typed_quantities.md b/docs/users_guide/framework_basics/simple_and_typed_quantities.md index 1204aef77..b5dbdc861 100644 --- a/docs/users_guide/framework_basics/simple_and_typed_quantities.md +++ b/docs/users_guide/framework_basics/simple_and_typed_quantities.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/svdof9dv4)" +!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/h1nne9eaG)" ### 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/3qdh3xhh7)" +!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/aYGdrWsT6)" 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: