From 3ec57f0c58886530884b8bbba3e3568d6f3f14e6 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sun, 15 Oct 2023 17:06:45 +0200 Subject: [PATCH] docs: admonition in "Value-preserving conversions" chapter removed --- docs/users_guide/framework_basics/value_conversions.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/users_guide/framework_basics/value_conversions.md b/docs/users_guide/framework_basics/value_conversions.md index 978f7d29..4eacf947 100644 --- a/docs/users_guide/framework_basics/value_conversions.md +++ b/docs/users_guide/framework_basics/value_conversions.md @@ -12,13 +12,6 @@ The second line above converts the current quantity to the one expressed in metr contents. The third line converts the quantity expressed in kilometres into the one measured in metres. -!!! important - - It is always assumed that one can convert a quantity into another one with a unit of a higher - resolution. There is no protection against overflow of the representation type. In case the target - quantity ends up with a value bigger than the representation type can handle, you will be facing - Undefined Behavior. - In case a user would like to perform an opposite transformation: ```cpp