Commit Graph
2775 Commits
Author SHA1 Message Date
Mateusz Pusz e07eb14805 ci: elements in the CI reordered to get a better ordering of jobs in the web interface 2023-10-17 09:41:40 +02:00
Mateusz Pusz e89861cb3a ci: Added C++23 builds to the CI matrix 2023-10-17 09:35:58 +02:00
Mateusz Pusz 1230eb6d25 test: inherited dimension test added 2023-10-17 09:32:53 +02:00
Mateusz Pusz b17c354080 refactor(tests): unit_symbol_test.cpp updated with new unit_symbol() signature 2023-10-17 09:12:51 +02:00
Mateusz Pusz ff3d1e87fa refactor: 💥 unit_symbol<fmt>(U) signature refactored and the resulting text can now also be used at runtime
Resolves (#501)
2023-10-17 09:09:18 +02:00
Mateusz Pusz 909d9a7089 feat: basic_fixed_string(const CharT*, std::integral_constant<std::size_t, N>) constructor added 2023-10-17 08:59:25 +02:00
Mateusz Pusz daadccebe0 refactor: additional constraints added to the fixed_string(CharT) constructor 2023-10-17 08:25:13 +02:00
Mateusz Pusz 18b4d3be33 fix: missing header include added to type_list.h 2023-10-17 08:20:28 +02:00
Mateusz Pusz 9d708c5e39 feat: 💥 mutating interface removed from fixed_string 2023-10-17 08:19:26 +02:00
Mateusz Pusz f4dfdc072e fix: printing of half_high_dot now properly updates the iterator 2023-10-17 08:15:10 +02:00
Mateusz Pusz 556df31590 feat: equality for dimensions now will allow derived classes as well (but not from derived_dimension) 2023-10-15 17:08:19 +02:00
Mateusz Pusz 3ec57f0c58 docs: admonition in "Value-preserving conversions" chapter removed 2023-10-15 17:06:45 +02:00
Mateusz Pusz 4bcf2cd149 docs: gravitational_potential_energy equation fixed on a graph 2023-10-15 11:51:45 +02:00
Mateusz Pusz b96be72457 feat: 💥 quantity_point does not provide zero() anymore 2023-10-15 09:39:18 +02:00
Mateusz Pusz fb71971ef0 fix: iterator is now properly updated for all cases in unit_symbol 2023-10-14 11:44:50 +02:00
Mateusz Pusz c9978dd479 refactor: some internal headers moce to the _bits/external_ subdirectory 2023-10-14 11:43:18 +02:00
Mateusz Pusz c75559dd34 docs: "i.e." replaced with "e.g." everywhere in the project 2023-10-10 20:24:23 +02:00
Mateusz Pusz b7e2033d33 refactor: dead code case for units ordering removed 2023-10-09 12:07:09 -06:00
Mateusz Pusz 84df87dd2c Merge pull request #496 from mpusz/unit_compose_ext
feat: quantities can now be multiplied and divided by units
2023-10-06 23:52:58 +02:00
Mateusz Pusz e23f038173 Merge branch 'master' into unit_compose_ext 2023-10-06 23:38:04 +02:00
Mateusz Pusz 9017aab28d test: unit tests added for muliplication and divsion of a quantity by reference 2023-10-06 15:20:20 -06:00
Mateusz Pusz cb36e39c2a style: formatting fixed to make pre-commit happy 2023-10-06 13:39:51 -06:00
Mateusz Pusz 0d66089853 feat: 💥 inverse() support added for dimensions, quantity_spec, units, and references (1 / s will now create quantity and not a Unit) 2023-10-06 12:53:18 -06:00
Mateusz Pusz fa5419b792 fix: unused parametrs identifiers removed 2023-10-04 10:14:57 -06:00
Mateusz Pusz a32866abcf Merge branch 'master' of github.com:mpusz/units 2023-10-04 10:09:08 -06:00
Mateusz Pusz 25f986d32c fix: MSVC-related fixes and workarounds 2023-10-04 10:00:17 -06:00
Mateusz Pusz 00a2bce0e8 fix(example): latitude and longitude fixed to include 0 for N and E respectively 2023-10-03 11:00:33 -06:00
Mateusz Pusz 2281be0f76 feat: QuantityLike and QuantityPointLike conversions improved 2023-10-02 21:12:25 -06:00
Mateusz Pusz e9387c4014 Merge pull request #495 from mpusz/interop
feat: interoperability with other libraries redesigned
2023-10-01 16:42:55 +02:00
Mateusz Pusz b12b9f87ae feat: quantity and quantity_point conversion operators now can also convert to const references 2023-09-30 22:23:18 -06:00
Mateusz PuszandJohel Ernesto Guerrero Peña 0999274680 Update src/core/include/mp-units/quantity_point.h
Co-authored-by: Johel Ernesto Guerrero Peña <johelegp@gmail.com>
2023-09-30 22:23:18 -06:00
Mateusz PuszandJohel Ernesto Guerrero Peña 78bf9a9add Update src/core/include/mp-units/quantity.h
Co-authored-by: Johel Ernesto Guerrero Peña <johelegp@gmail.com>
2023-09-30 22:23:18 -06:00
Mateusz Pusz 5a74cd66ba feat: interoperability with other libraries redesigned 2023-09-30 22:23:18 -06:00
Mateusz Pusz 335ebc9b7b style: whitespaces in FAQ fixed to make pre-commit happy 2023-09-30 22:20:42 -06:00
Mateusz Pusz cdd90fb93b docs: CameCase concept identifiers FAQ added 2023-09-30 21:52:25 -06:00
Mateusz Pusz 04588d9c8b feat: Magnitude / Unit operator added 2023-09-30 21:36:23 -06:00
Mateusz Pusz f15baf4c2a fix: clang compilation fixed 2023-09-30 21:35:16 -06:00
Mateusz Pusz b2423bfded feat: quantities can now be multiplied and divided by units 2023-09-29 21:40:24 -06:00
Mateusz Pusz 476a68ce8e docs: broken internal URL fixed 2023-09-29 11:21:27 +02:00
Mateusz Pusz 06e4548dc9 fix: clang compilation of inverse fixed 2023-09-29 10:08:01 +02:00
Mateusz Pusz 833851d1cb test: tests for printing of a symbol of a dimensionless unit with the ratio = 1 2023-09-29 06:31:32 +02:00
Mateusz Pusz d5a0874bea fix: symbols of named dimensionless units with the ratio = 1 were not printed 2023-09-29 06:30:28 +02:00
Mateusz Pusz caf0e66cb2 test: more unit tests for unit conversions 2023-09-28 09:01:52 +02:00
Mateusz Pusz d427849477 refactor: in(U) and force_in(U) now return auto to provide better diagnostics on clang
When a strong type was returned clang, instead of on a concept check, failed on `detail::make_quantity` used to provide a function return type.
2023-09-27 17:10:20 +02:00
Mateusz Pusz b4bb7227b9 feat: UnitCompatibleWith added and applied to in(U) and force_in(U) functions 2023-09-27 17:06:08 +02:00
Mateusz Pusz 969bf9716c ci: gcc-12 installation no longer needed in ci-conan 2023-09-26 19:31:27 +02:00
Mateusz Pusz 379a3c91f8 ci: gcc-13 installation added to ci-test-package-cmake 2023-09-26 19:31:01 +02:00
Mateusz Pusz b74c0bf6e8 ci: gcc-13 added to ci-test-package-cmake GHAction 2023-09-26 19:17:04 +02:00
Mateusz Pusz bbdf290009 fix: clang-17 compilation fixed 2023-09-26 19:15:57 +02:00
Mateusz Pusz 92b7069c35 ci: clang-17 enabled 2023-09-26 18:55:02 +02:00