From 82b01c304918fae1faa47f9003dfe496c7fd4436 Mon Sep 17 00:00:00 2001 From: Dominik Berner Date: Wed, 10 Feb 2021 11:45:22 +0100 Subject: [PATCH 1/3] Add Test for ton literals --- include/SI/mass.h | 9 +++++ test/src/base_unit_tests/mass_tests.cc | 56 ++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/include/SI/mass.h b/include/SI/mass.h index 5c4a9398..93eac42e 100644 --- a/include/SI/mass.h +++ b/include/SI/mass.h @@ -99,6 +99,10 @@ template constexpr ton_t operator""_t() { return ton_t{SI::detail::parsing::Number<_digits...>::value}; } +template constexpr kilo_ton_t operator""_kt() { + return kilo_ton_t{SI::detail::parsing::Number<_digits...>::value}; +} + template constexpr mega_gram_t operator""_Mg() { return mega_gram_t{SI::detail::parsing::Number<_digits...>::value}; } @@ -155,6 +159,11 @@ constexpr ton_t operator"" _t(long double t) { return ton_t(t); } +constexpr kilo_ton_t operator"" _kt(long double t) { + return kilo_ton_t(t); +} + + constexpr mega_gram_t operator""_Mg(long double value) { return mega_gram_t{value}; } diff --git a/test/src/base_unit_tests/mass_tests.cc b/test/src/base_unit_tests/mass_tests.cc index 44edb3f2..7c213d1e 100644 --- a/test/src/base_unit_tests/mass_tests.cc +++ b/test/src/base_unit_tests/mass_tests.cc @@ -99,6 +99,62 @@ TEST_CASE("GIVEN a value WHEN constructed with literal _t THEN result is a " const SI::mass_t>::value); } +TEST_CASE("GIVEN a value WHEN constructed with literal _kt THEN result is a " + "mass value AND ratio is 10^6/1") { + constexpr auto one = 1_kt; + STATIC_REQUIRE( + std::is_same>::value); + + constexpr auto one_f = 1.0_kt; + STATIC_REQUIRE(std::is_same>::value); +} + +TEST_CASE("GIVEN a value WHEN constructed with literal _Mt THEN result is a " + "mass value AND ratio is 10^9/1") { + constexpr auto one = 1_Mt; + STATIC_REQUIRE( + std::is_same>::value); + + constexpr auto one_f = 1.0_Mt; + STATIC_REQUIRE(std::is_same>::value); +} + +TEST_CASE("GIVEN a value WHEN constructed with literal _Gt THEN result is a " + "mass value AND ratio is 10^12/1") { + constexpr auto one = 1_Gt; + STATIC_REQUIRE( + std::is_same>::value); + + constexpr auto one_f = 1.0_Gt; + STATIC_REQUIRE(std::is_same>::value); +} + +TEST_CASE("GIVEN a value WHEN constructed with literal _Tt THEN result is a " + "mass value AND ratio is 10^15/1") { + constexpr auto one = 1_Tt; + STATIC_REQUIRE( + std::is_same>::value); + + constexpr auto one_f = 1.0_Tt; + STATIC_REQUIRE(std::is_same>::value); +} + +TEST_CASE("GIVEN a value WHEN constructed with literal _Pt THEN result is a " + "mass value AND ratio is 10^18/1") { + constexpr auto one = 1_Pt; + STATIC_REQUIRE( + std::is_same>::value); + + constexpr auto one_f = 1.0_Pt; + STATIC_REQUIRE(std::is_same>::value); +} + + TEST_CASE("GIVEN a value WHEN constructed with literal _Mg THEN result is a " "mass value AND ratio is 1000/1") { constexpr auto one = 1_Mg; From 12b40c611b96f4e78a188b52fb47e6125ddd0a22 Mon Sep 17 00:00:00 2001 From: Dominik Berner Date: Wed, 10 Feb 2021 11:49:13 +0100 Subject: [PATCH 2/3] Add literals for ton types --- include/SI/mass.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/include/SI/mass.h b/include/SI/mass.h index 93eac42e..769af0f9 100644 --- a/include/SI/mass.h +++ b/include/SI/mass.h @@ -103,6 +103,22 @@ template constexpr kilo_ton_t operator""_kt() { return kilo_ton_t{SI::detail::parsing::Number<_digits...>::value}; } +template constexpr mega_ton_t operator""_Mt() { + return mega_ton_t{SI::detail::parsing::Number<_digits...>::value}; +} + +template constexpr giga_ton_t operator""_Gt() { + return giga_ton_t{SI::detail::parsing::Number<_digits...>::value}; +} + +template constexpr tera_ton_t operator""_Tt() { + return tera_ton_t{SI::detail::parsing::Number<_digits...>::value}; +} + +template constexpr peta_ton_t operator""_Pt() { + return peta_ton_t{SI::detail::parsing::Number<_digits...>::value}; +} + template constexpr mega_gram_t operator""_Mg() { return mega_gram_t{SI::detail::parsing::Number<_digits...>::value}; } @@ -163,6 +179,21 @@ constexpr kilo_ton_t operator"" _kt(long double t) { return kilo_ton_t(t); } +constexpr mega_ton_t operator"" _Mt(long double t) { + return mega_ton_t(t); +} + +constexpr giga_ton_t operator"" _Gt(long double t) { + return giga_ton_t(t); +} + +constexpr tera_ton_t operator"" _Tt(long double t) { + return tera_ton_t(t); +} + +constexpr peta_ton_t operator"" _Pt(long double t) { + return peta_ton_t(t); +} constexpr mega_gram_t operator""_Mg(long double value) { return mega_gram_t{value}; From 05018d6ea5f1342c1a3f58c4fc1fa7506eb2654d Mon Sep 17 00:00:00 2001 From: Dominik Berner Date: Wed, 10 Feb 2021 11:50:48 +0100 Subject: [PATCH 3/3] Version bump to 2.0.4 --- CHANGELOG.md | 4 ++++ CMakeLists.txt | 2 +- include/SI/absorbed_dose.h | 2 +- include/SI/acceleration.h | 2 +- include/SI/angle.h | 2 +- include/SI/area.h | 2 +- include/SI/astronomic.h | 2 +- include/SI/catalytic_activity.h | 2 +- include/SI/detail/detail.h | 2 +- include/SI/detail/number_parser.h | 2 +- include/SI/detail/operator_helpers.h | 2 +- include/SI/detail/unit.h | 2 +- include/SI/detail/unit_symbol.h | 2 +- include/SI/electric_capacity.h | 2 +- include/SI/electric_charge.h | 2 +- include/SI/electric_conductance.h | 2 +- include/SI/electric_current.h | 2 +- include/SI/electric_potential.h | 2 +- include/SI/electric_resistance.h | 2 +- include/SI/energy.h | 2 +- include/SI/equivalent_dose.h | 2 +- include/SI/force.h | 2 +- include/SI/frequency.h | 2 +- include/SI/illuminance.h | 2 +- include/SI/inductance.h | 2 +- include/SI/length.h | 2 +- include/SI/luminosity.h | 2 +- include/SI/luminous_flux.h | 2 +- include/SI/magnetic_field.h | 2 +- include/SI/magnetic_flux.h | 2 +- include/SI/mass.h | 2 +- include/SI/momentum.h | 2 +- include/SI/power.h | 2 +- include/SI/pressure.h | 2 +- include/SI/radioactivity.h | 2 +- include/SI/solid_angle.h | 2 +- include/SI/stream.h | 2 +- include/SI/substance.h | 2 +- include/SI/temperature.h | 2 +- include/SI/time.h | 2 +- include/SI/velocity.h | 2 +- 41 files changed, 44 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c04fa16a..da3e372b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.0.4 + +* Add literals for ton types up to peta ton + ## 2.0.3 * Add synonymous `*_ton_t` types for mass magnitudes diff --git a/CMakeLists.txt b/CMakeLists.txt index a918f20b..ca4c761d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12) project( "SI" - VERSION 2.0.3 + VERSION 2.0.4 DESCRIPTION "A header only c++ library that provides type safety and user defined literals for handling pyhsical values defined in the International System of Units." HOMEPAGE_URL "https://github.com/bernedom/SI" diff --git a/include/SI/absorbed_dose.h b/include/SI/absorbed_dose.h index 77733232..62b72e1a 100644 --- a/include/SI/absorbed_dose.h +++ b/include/SI/absorbed_dose.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/acceleration.h b/include/SI/acceleration.h index b2d9f889..c981806f 100644 --- a/include/SI/acceleration.h +++ b/include/SI/acceleration.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/angle.h b/include/SI/angle.h index 87505604..86905c20 100644 --- a/include/SI/angle.h +++ b/include/SI/angle.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/area.h b/include/SI/area.h index 6d96ce0e..2fd4cfac 100644 --- a/include/SI/area.h +++ b/include/SI/area.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/astronomic.h b/include/SI/astronomic.h index 6dec21ac..7d574deb 100644 --- a/include/SI/astronomic.h +++ b/include/SI/astronomic.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/catalytic_activity.h b/include/SI/catalytic_activity.h index cec8d393..8ca33c2b 100644 --- a/include/SI/catalytic_activity.h +++ b/include/SI/catalytic_activity.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/detail/detail.h b/include/SI/detail/detail.h index a330635a..f261b6d9 100644 --- a/include/SI/detail/detail.h +++ b/include/SI/detail/detail.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/detail/number_parser.h b/include/SI/detail/number_parser.h index 87f0e41f..9888e6c6 100644 --- a/include/SI/detail/number_parser.h +++ b/include/SI/detail/number_parser.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/detail/operator_helpers.h b/include/SI/detail/operator_helpers.h index ab1c5f36..89143430 100644 --- a/include/SI/detail/operator_helpers.h +++ b/include/SI/detail/operator_helpers.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/detail/unit.h b/include/SI/detail/unit.h index a8cdd2d1..5ef1ee77 100644 --- a/include/SI/detail/unit.h +++ b/include/SI/detail/unit.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/detail/unit_symbol.h b/include/SI/detail/unit_symbol.h index ca8bb58b..0c30e46b 100644 --- a/include/SI/detail/unit_symbol.h +++ b/include/SI/detail/unit_symbol.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/electric_capacity.h b/include/SI/electric_capacity.h index 247d9810..a44775de 100644 --- a/include/SI/electric_capacity.h +++ b/include/SI/electric_capacity.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/electric_charge.h b/include/SI/electric_charge.h index 47391a0a..82741e51 100644 --- a/include/SI/electric_charge.h +++ b/include/SI/electric_charge.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/electric_conductance.h b/include/SI/electric_conductance.h index 49363840..f72eeb14 100644 --- a/include/SI/electric_conductance.h +++ b/include/SI/electric_conductance.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/electric_current.h b/include/SI/electric_current.h index a3f52bfc..04ddf55b 100644 --- a/include/SI/electric_current.h +++ b/include/SI/electric_current.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/electric_potential.h b/include/SI/electric_potential.h index d8d1f94d..eefd77ae 100644 --- a/include/SI/electric_potential.h +++ b/include/SI/electric_potential.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/electric_resistance.h b/include/SI/electric_resistance.h index af4a6f30..ac81f231 100644 --- a/include/SI/electric_resistance.h +++ b/include/SI/electric_resistance.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/energy.h b/include/SI/energy.h index 7d096cf9..d51e6e3c 100644 --- a/include/SI/energy.h +++ b/include/SI/energy.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/equivalent_dose.h b/include/SI/equivalent_dose.h index 579b626a..54665af2 100644 --- a/include/SI/equivalent_dose.h +++ b/include/SI/equivalent_dose.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/force.h b/include/SI/force.h index bc321cca..3faa6bf8 100644 --- a/include/SI/force.h +++ b/include/SI/force.h @@ -1,6 +1,6 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/frequency.h b/include/SI/frequency.h index 90782a4f..33b5cdee 100644 --- a/include/SI/frequency.h +++ b/include/SI/frequency.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/illuminance.h b/include/SI/illuminance.h index 8ef30db7..3633e1f1 100644 --- a/include/SI/illuminance.h +++ b/include/SI/illuminance.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/inductance.h b/include/SI/inductance.h index c99a2051..758df35c 100644 --- a/include/SI/inductance.h +++ b/include/SI/inductance.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/length.h b/include/SI/length.h index 804dc446..1b3d4d45 100644 --- a/include/SI/length.h +++ b/include/SI/length.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/luminosity.h b/include/SI/luminosity.h index 76d8c9d6..6284bd37 100644 --- a/include/SI/luminosity.h +++ b/include/SI/luminosity.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/luminous_flux.h b/include/SI/luminous_flux.h index 00683e0e..e0307214 100644 --- a/include/SI/luminous_flux.h +++ b/include/SI/luminous_flux.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/magnetic_field.h b/include/SI/magnetic_field.h index 034c3233..06277870 100644 --- a/include/SI/magnetic_field.h +++ b/include/SI/magnetic_field.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/magnetic_flux.h b/include/SI/magnetic_flux.h index 600785bf..a1f187e1 100644 --- a/include/SI/magnetic_flux.h +++ b/include/SI/magnetic_flux.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/mass.h b/include/SI/mass.h index 769af0f9..98f770d3 100644 --- a/include/SI/mass.h +++ b/include/SI/mass.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/momentum.h b/include/SI/momentum.h index bc4e2500..f416cfc6 100644 --- a/include/SI/momentum.h +++ b/include/SI/momentum.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/power.h b/include/SI/power.h index 77f980c9..d2399980 100644 --- a/include/SI/power.h +++ b/include/SI/power.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/pressure.h b/include/SI/pressure.h index f5d203de..004f93ea 100644 --- a/include/SI/pressure.h +++ b/include/SI/pressure.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/radioactivity.h b/include/SI/radioactivity.h index d7abbf22..eff57534 100644 --- a/include/SI/radioactivity.h +++ b/include/SI/radioactivity.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/solid_angle.h b/include/SI/solid_angle.h index f618aa80..26111b04 100644 --- a/include/SI/solid_angle.h +++ b/include/SI/solid_angle.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/stream.h b/include/SI/stream.h index c0cfbbb4..a0b92c2c 100644 --- a/include/SI/stream.h +++ b/include/SI/stream.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/substance.h b/include/SI/substance.h index c4daa0f7..e3215630 100644 --- a/include/SI/substance.h +++ b/include/SI/substance.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/temperature.h b/include/SI/temperature.h index 6bc6af3b..05d70855 100644 --- a/include/SI/temperature.h +++ b/include/SI/temperature.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/time.h b/include/SI/time.h index e52ab0d8..509cce4a 100644 --- a/include/SI/time.h +++ b/include/SI/time.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units diff --git a/include/SI/velocity.h b/include/SI/velocity.h index 80f22857..6219f845 100644 --- a/include/SI/velocity.h +++ b/include/SI/velocity.h @@ -1,5 +1,5 @@ /** - * This file is part of "SI" version 2.0.3 + * This file is part of "SI" version 2.0.4 * A header only c++ library that provides type safety and user defined literals * for handling pyhsical values defined in the International System of * Units