Commit Graph
2746 Commits
Author SHA1 Message Date
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 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
Mateusz Pusz 94bd2a23ca build: got rid of old gcc hacks 2023-09-26 18:25:03 +02:00
Mateusz Pusz 25fee701a0 build: got rid of old clang hacks and range-v3 dependency 2023-09-26 18:09:06 +02:00
Mateusz Pusz 3b6a22d2c0 docs: degree_Celsius comment not needed anymore 2023-09-26 15:48:17 +02:00
Mateusz Pusz 993ea8e3ac ci: clang-tools installation added 2023-09-26 15:40:08 +02:00
Mateusz Pusz 7a6b629218 feat: gray and sievert now have correct associated quantity kinds 2023-09-26 15:27:43 +02:00
Mateusz Pusz 52479412bb docs: TODO note removed 2023-09-26 14:21:37 +02:00
Mateusz Pusz ee5b727d2a ci: user.build:skip_docs removed from Conan command line 2023-09-26 14:04:58 +02:00
Mateusz Pusz ffba2a5e89 ci: codeql analysis refactored 2023-09-26 14:04:26 +02:00
Mateusz Pusz fe70e29bce Create codeql.yml 2023-09-26 13:53:41 +02:00
Mateusz Pusz b2beac4ac0 ci: clang-17 support disabled until Conan supports it 2023-09-26 13:22:15 +02:00
Mateusz Pusz 28ecc40092 ci: Conan settings.yml file must be created before updating 2023-09-26 13:08:15 +02:00
Mateusz Pusz 6324fe9467 ci: GitHub actions updated to the latest versions 2023-09-26 13:06:32 +02:00
Mateusz Pusz d9dc374561 build: Conan settings update step moved up 2023-09-26 12:52:51 +02:00
Mateusz Pusz 31f45cee79 ci: workaround for Conan not supporting clang-17 2023-09-26 12:45:51 +02:00
Mateusz Pusz 0ca3ff75ff ci: Clang-17 added to CI 2023-09-26 12:32:51 +02:00
Mateusz Pusz 77cc08ef77 fix: min and max compilation issues resolved 2023-09-26 12:32:26 +02:00
Mateusz Pusz eaf51c467c Merge branch 'master' of github.com:mpusz/mp-units 2023-09-26 10:37:12 +02:00
Mateusz Pusz bfbc1785b8 feat: isq::activity added and becquerel definition updated to benefit from it 2023-09-26 10:37:08 +02:00
Mateusz Pusz b5f966e54f Merge branch 'master' of github.com:mpusz/units 2023-09-25 19:49:42 +02:00
Mateusz Pusz 4a83c66bf4 refactor: clang compile-time errors improved by explicit resolving a type of an using alias 2023-09-25 19:49:35 +02:00
Mateusz Pusz 4bde31ee22 build: mp-units version bumped to 2.1.0 2023-09-24 20:38:10 +02:00
Mateusz Pusz daf4657375 docs: library versions bumped in the docs v2.0.0 2023-09-24 20:06:07 +02:00
Mateusz Pusz 9a02f902b9 docs: CHANGELOG updated 2023-09-24 19:59:26 +02:00
Mateusz Pusz 80d869e13d docs: workind in one of the comments fixed 2023-09-24 19:43:58 +02:00
Mateusz Pusz 9224fc511a fix: static linkage removed from random functions 2023-09-24 19:34:21 +02:00
Mateusz Pusz a356db749e docs: inverse() added to "Other maths" chapter 2023-09-20 20:32:59 +02:00
Mateusz Pusz 49da1ced3a refactor: make_reference added and used in constraints for quantity and quantity_point
`quantity_spec[unit]` syntax will not work for natural units and we want the interface to be widely applicable to all domains.
2023-09-20 20:31:49 +02:00
Mateusz Pusz f9ffacc713 feat: inverse() math utility added
Relates to #268
2023-09-20 20:13:39 +02:00
Mateusz Pusz becca905e7 Merge pull request #484 from mpusz/mpusz/issue477
Renaming of accessor functions
2023-09-18 10:42:15 +02:00