Commit Graph
3436 Commits
Author SHA1 Message Date
Mateusz Pusz 0010d868a7 feat: tag types-related operators are now hidden friends as well
Resolves #591
2024-07-12 16:01:03 +02:00
Mateusz Pusz b5e8f2afcd fix: si.h and angular.h now properly include hacks.h to define MP_UNITS_HOSTED before its usage 2024-07-12 15:03:19 +02:00
Mateusz Pusz bc234b0093 fix: disabled partial convertibility of binary operators arguments 2024-07-12 15:02:29 +02:00
Mateusz Pusz e5e0e47c36 refactor: small quantity and quantity_point interface cleanup 2024-07-11 20:06:00 +02:00
Mateusz Pusz dd52808999 Merge pull request #577 from mpusz/hidden_friends
refactor: binary operators of `quantity` and `quantity_point` are now hidden friends
2024-07-12 02:19:59 +09:00
Mateusz Pusz 175fd04c3a fix: LA library bug workaround
Blocked by BobSteagall/wg21#77
2024-07-11 19:18:28 +02:00
Mateusz Pusz a70ef1ebc3 Revert "fix: disabled convertibility of quantity binary operators arguments"
This reverts commit 037964bbba.
2024-07-11 18:05:51 +02:00
Mateusz Pusz 037964bbba fix: disabled convertibility of quantity binary operators arguments 2024-07-11 17:19:31 +02:00
Mateusz Pusz bfb964b017 docs: CHANGELOG updated 2024-07-11 16:08:47 +02:00
Mateusz Pusz 50cc9dfded refactor: binary operators of quantity and quantity_point are now hidden friends 2024-07-11 16:08:47 +02:00
Mateusz Pusz c8849e5781 refactor: improvements in are_ingredients_convertible 2024-07-10 10:23:55 +02:00
Mateusz Pusz 390a0cee5d refactor: small refactoring of conditions in convertible_impl 2024-07-08 09:12:16 +02:00
Mateusz Pusz 0586ce030b refactor: prepend_and_process_rest refactored 2024-07-07 22:27:35 +01:00
Mateusz Pusz 382695623a refactor: a few functions that look for convertible ingredeints renamed 2024-07-07 22:15:24 +01:00
Mateusz Pusz 0368d0a56d fix: MP_UNITS_API_CONTRACTS should have a priority over headers availability (compat_macros) 2024-07-07 21:14:04 +01:00
Mateusz Pusz 6a5e6902fe fix: MP_UNITS_API_CONTRACTS should have a priority over headers availability 2024-07-06 18:09:41 +01:00
Mateusz Pusz 9df601f522 build: fmt updated to 11.0.0 2024-07-05 14:03:39 +01:00
Mateusz Pusz b803e5b701 fix: most of the previous commit reverted (accidentaly too many files with changes were included) 2024-07-05 10:05:25 +01:00
Mateusz Pusz c30f62e7f5 docs: 2.2.0 release announcement updated to point to 2.2.1 2024-07-04 22:57:49 +01:00
Mateusz Pusz 2cff579650 feat: representation type template parameter added to value convertion functions
Resolves #588
2024-07-04 22:05:40 +01:00
Mateusz Pusz 5903e5661f refactor: 💥 quantity_point_like_traits now use numerical value instead of the quantity
Resolves #531
2024-07-04 16:40:40 +01:00
Mateusz Pusz 360eb85d09 docs: TODO note changed in the unit_symbol and dimension_symbol 2024-07-04 15:03:58 +01:00
Mateusz Pusz 170a345fdf fix: unit_symbol and dimension_symbol fixed for pre-C++23 compilation 2024-07-04 14:46:14 +01:00
Mateusz Pusz 14d1a4e06b fix: mkdocs dependencies fixed in the gitpod dockerfile 2024-07-04 14:18:43 +01:00
Mateusz Pusz 246923d877 refactor: unit_symbol and dimension_symbol refactored for readability and consteval 2024-07-04 14:16:19 +01:00
Mateusz Pusz 79488ef17d docs: one more small improvement 2024-07-04 12:15:31 +01:00
Mateusz Pusz 5a588e5f45 docs: code example in "Radians and degrees support" chapter improved 2024-07-04 12:14:40 +01:00
Mateusz Pusz b3cd2cf6e3 feat: text output for angular units improved (space before symbol removed) 2024-07-04 10:40:12 +01:00
Mateusz Pusz 031ee04a1c docs: "Radians and degrees support" added 2024-07-04 10:39:26 +01:00
Mateusz Pusz cc75950c44 fix: value-initialization for data_ added to inplace_vector 2024-07-03 23:01:24 +01:00
Mateusz Pusz c59ab3e11e refactor: dimension_symbol and units_symbol refactored to use inplace_vector 2024-07-03 22:57:50 +01:00
Mateusz Pusz 6f03c04d97 fix: IWYU - concepts added to fixed_string 2024-07-03 22:56:30 +01:00
Mateusz Pusz d5b8a742c9 feat: simplified inplace_vector added 2024-07-03 22:55:53 +01:00
Mateusz Pusz c43abdb696 docs: 2.2.1 changelog added 2024-07-03 19:35:46 +01:00
Mateusz Pusz e0becc97a8 style: pre-commit styling 2024-07-03 19:30:21 +01:00
Mateusz Pusz de1381748c feat: 💥 Conan and CMake options changed as requested at ConanCenter code review 2024-07-03 18:45:19 +01:00
Mateusz Pusz 5e8a8ea1b4 Merge branches 'master' and 'master' of github.com:mpusz/mp-units 2024-07-02 21:08:33 +01:00
Mateusz Pusz 5fc0bc4018 docs: St. Louis 2024 report added 2024-07-02 19:30:25 +01:00
Mateusz Pusz 84f0a0411c Merge pull request #589 from nebkat/fix-fmt-11
fix: Support fmtlib 11.0.0
2024-07-02 20:27:05 +09:00
Mateusz Pusz 485a53d3d7 docs: small cleanup of the Affine Space chapter 2024-07-02 11:45:11 +01:00
Mateusz Pusz f6fbfe1e09 fix: MP_UNITS_HOSTED branch added to core.h 2024-07-02 11:44:38 +01:00
Mateusz Pusz 1365d62293 refactor: degree Celsius and Fahrenheit symbols text now use Unicode codepoints 2024-07-02 11:43:53 +01:00
Mateusz Pusz e41078b889 fix: MP_UNITS_API_NO_CRTP handling fixed 2024-07-02 11:07:49 +01:00
Nebojsa Cvetkovic 0ac6a1701d fix: Support fmtlib 11.0.0 2024-07-01 18:38:06 +01:00
Mateusz Pusz 70289048bd refactor: Unicode codepoints used for deg_C and deg_F text symbols 2024-06-30 17:14:37 +02:00
Mateusz Pusz a70031ab75 refactor: small code cleanup 2024-06-30 12:10:04 +02:00
Mateusz Pusz 13aab34b51 refactor: [[nodiscard]] and consteval set for some magnitude-related functions 2024-06-30 12:09:01 +02:00
Mateusz Pusz f4ed232153 feat: non-member swap added for fixed_string 2024-06-30 12:07:58 +02:00
Mateusz Pusz 36825da04b refactor: capacity functions of fixed_string fixed 2024-06-30 12:07:18 +02:00
Mateusz Pusz 3d6e50c67a refactor: UnitCompatibleWith is now exposition-only 2024-06-30 12:06:26 +02:00