From 4a8f319c0ee9e41584b2ac37b95ef0bb92420aa4 Mon Sep 17 00:00:00 2001 From: Klas Marcks Date: Wed, 28 Feb 2024 14:24:20 +0100 Subject: [PATCH] Fix typos in comments --- typesafe_units/include/tu/typesafe_units.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/typesafe_units/include/tu/typesafe_units.h b/typesafe_units/include/tu/typesafe_units.h index 57e0ca5..5a68803 100644 --- a/typesafe_units/include/tu/typesafe_units.h +++ b/typesafe_units/include/tu/typesafe_units.h @@ -277,7 +277,7 @@ struct Non_coherent_unit : Parent_unit { // Express one unit with prefix in a different unit. // Example: // Unit m(1.0f); -// std::cout << tu::convert_to(m).value << std::endl; // prints 60000.0 +// std::cout << tu::convert_to(m).value << std::endl; // prints 60000.0 // template convert_to(const Unit& from) no // Unit is the intended public unit class. // Prefix is an enum class intrinsically converted to the exponent of the prefix. // Example: -// Unit s = 3.0; -// +// Unit s = 3.0; +// template requires std::derived_from struct Unit : U::Base {