From 48d11cce8a866f883475cd9628402483c3cdf0dd Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 1 Feb 2023 21:03:44 +0100 Subject: [PATCH] docs: Compiler Explorer examples compilation fixed --- README.md | 4 ++-- docs/quick_start.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0815c65d..d5f5fe90 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ static_assert(10 * km / (5 * km) == 2); static_assert(1000 / (1 * s) == 1 * kHz); ``` -_Try it on the [Compiler Explorer](https://godbolt.org/z/5dvY8Woh1)._ +_Try it on the [Compiler Explorer](https://godbolt.org/z/qbbbnfK3s)._ This library requires some C++20 features (concepts, classes as NTTPs, ...). Thanks to them the user gets a powerful but still easy to use interface and all unit conversions @@ -107,4 +107,4 @@ int main() } ``` -_Try it on the [Compiler Explorer](https://godbolt.org/z/bcb87Kvea)._ +_Try it on the [Compiler Explorer](https://godbolt.org/z/b4a3Ya6dY)._ diff --git a/docs/quick_start.rst b/docs/quick_start.rst index 31962876..7eba57ae 100644 --- a/docs/quick_start.rst +++ b/docs/quick_start.rst @@ -32,7 +32,7 @@ Here is a small example of possible operations:: .. admonition:: Try it on Compiler Explorer - `Example #1 `_ + `Example #1 `_ This library requires some C++20 features (concepts, classes as :abbr:`NTTP (Non-Type Template Parameter)`, ...). Thanks to them the user gets a powerful @@ -81,7 +81,7 @@ of basic library features:: .. admonition:: Try it on Compiler Explorer - `Example #2 `_ + `Example #2 `_ .. seealso::