Commit Graph
3936 Commits
Author SHA1 Message Date
Mateusz Pusz febdaec85e feat: text ouptput should fallback to the portable mode when UTF-8 is not used for text_encoding 2024-11-26 10:59:02 +01:00
Mateusz Pusz 3b14b588e9 refactor: type_name_less introduced and used as a default predicate for expression templates 2024-11-26 10:09:28 +01:00
Mateusz Pusz 360cf7d540 refactor: power members refactored to be explicitly exposition only 2024-11-26 09:24:01 +01:00
Mateusz Pusz b77aa52355 refactor: absolute renamed to point
Resolves #645
2024-11-24 14:19:16 +01:00
Mateusz Pusz 36b1707da0 perf: get_complexity, explode, and extract_convertible_quantities results caching added 2024-11-24 13:58:04 +01:00
Mateusz Pusz 026dbed22a refactor: get_canonical_unit_result refactored to a variable template 2024-11-24 13:51:17 +01:00
Mateusz Pusz 57dbe4a8c6 refactor: unused SameReference concept removed 2024-11-24 10:42:48 +01:00
Mateusz Pusz b83008cd24 refactor: SameQuantitySpec concept removed and replaced with direct comparison 2024-11-24 10:42:36 +01:00
Mateusz Pusz 9a0f7a25dd test: tests for dimensionless quantities static data members 2024-11-23 19:35:59 +01:00
Mateusz Pusz 5edcb3a2d1 refactor: std::is_trivial will be deprecated in C++26 2024-11-23 17:46:47 +01:00
Mateusz Pusz 906023d4b3 refactor: CPO implemention does not have to use inline for namespace 2024-11-23 17:45:58 +01:00
Mateusz Pusz bda112418a docs: a paragraph about additoinal formatting options removed (aplicable only to quantity symbols which we do not support) 2024-11-22 13:48:33 +01:00
Mateusz Pusz d622ac974a refactor: one_of concept removed and replaced with QSProperty in quantity_spec 2024-11-21 20:27:30 +01:00
Mateusz Pusz f84ed8f1ef refactor: initial CPOs for representation types and their usage in representation concepts 2024-11-21 16:51:57 +01:00
Mateusz Pusz 0c09008671 fix: clang is too stupid to provide a deprecation warning for text_encoding 2024-11-21 11:25:57 +01:00
Mateusz Pusz c745e90dfd fix: bits/unit_magnitude.h added to CMake sources 2024-11-21 09:53:01 +01:00
Mateusz Pusz e61243bf40 style: clang-format 2024-11-21 09:45:09 +01:00
Mateusz Pusz de534b3fbd refactor: private unit_magnitude interface renamed to not use leading _ 2024-11-21 09:37:36 +01:00
Mateusz Pusz a673c8d3f3 refactor: 💥 unit_magnitude moved to detail namespace 2024-11-21 09:17:07 +01:00
Mateusz Pusz 16e816d4cb refactor: 💥 Magnitude renamed to UnitMagnitude and magnitude to unit_magnitude 2024-11-21 08:58:18 +01:00
Mateusz Pusz 0528698540 docs: outdated note removed from the "Text Output" chapter 2024-11-20 15:38:24 +01:00
Mateusz Pusz 580ddf7ab6 docs: comment about default options changed in conanfile examples 2024-11-20 09:23:32 +01:00
Mateusz Pusz 384cb87eac style: pre-commit 2024-11-20 00:18:31 +01:00
Mateusz Pusz 6fde5ec911 docs: contracts Conan option default value description improved 2024-11-20 00:17:11 +01:00
Mateusz Pusz 8c39e02f88 docs: conanfile.py examples added to the installation chapter 2024-11-19 23:53:21 +01:00
Mateusz Pusz 86cbe972d3 docs: mp-units Conan options added to conanfile.txt examples 2024-11-19 20:34:12 +01:00
Mateusz Pusz 8ae21ffcc9 refactor: 💥 text_encoding renamed to character_set 2024-11-19 14:44:59 +01:00
Mateusz Pusz dcf05687cf perf: expr_projectable concept removed to improve compilation performance 2024-11-18 20:34:15 +01:00
Mateusz Pusz 1090c40bea Merge pull request #542 from mpusz/test_package_with_modules
test: test_package now is tested also with C++20 modules
2024-11-18 15:38:28 +01:00
Mateusz Pusz 47b22f193e build: minimum CMake required changed to 3.30.5 for test_package to make some jobs on CI to work 2024-11-18 14:51:44 +01:00
Mateusz Pusz 82d12a8a74 build: require at least CMake 3.31 with Conan 2024-11-18 14:45:27 +01:00
Mateusz Pusz 42738754d9 build: require at least CMake 3.31 for test_package 2024-11-18 14:42:39 +01:00
Mateusz Pusz cef720c243 build: MP_UNITS_API_NO_CRTP removed from test_package CMake 2024-11-18 14:39:37 +01:00
Mateusz Pusz 05c5ca5871 build: missing compilation options added to test_package 2024-11-18 14:17:52 +01:00
Mateusz Pusz 81c810ad42 build: running test_package fixed for local build 2024-11-18 13:59:28 +01:00
Mateusz Pusz 2a9248e82e ci: two test binaries properly set for testing for CMake CI 2024-11-18 13:59:28 +01:00
Mateusz Pusz 6ea2adf936 test: test_package now is tested also with C++20 modules 2024-11-18 13:56:18 +01:00
Mateusz Pusz c1d323a91a fix: gcc-13
gcc-13 ICE on `decltype(auto(...))`
2024-11-18 09:58:01 +01:00
Mateusz Pusz a1d8c4d6a5 docs: directory name updated in the contributing guide 2024-11-17 16:12:44 +01:00
Mateusz Pusz 51f2539fae build: MP_UNITS_DEV_TIME_TRACE CMake option added 2024-11-17 13:35:12 +01:00
Mateusz Pusz dc847ca360 build: CheckCacheVarValues CMake module file added 2024-11-17 13:34:04 +01:00
Mateusz Pusz 45a19c8cec docs: new chapter about our documentation added to the contributing guide 2024-11-17 13:32:02 +01:00
Mateusz Pusz b3c209cec0 docs: indentiation fixed in a contributing guide 2024-11-17 13:31:27 +01:00
Mateusz Pusz 79f42e8877 refactor: small detail namespace cleanup for units 2024-11-17 07:56:53 +01:00
Mateusz Pusz 623930ccee refactor: convertible_impl refactored to convertible + results caching 2024-11-16 22:11:59 +01:00
Mateusz Pusz b00d061ac8 refactor: explicit type of op/ for quantity and reference replaced with constrained placeholder
This prevents additional instantiations of inversed quantities
2024-11-16 22:10:51 +01:00
Mateusz Pusz 1be54cbc1d feat: equivalent now accept any units (even non-convertible) 2024-11-16 22:08:54 +01:00
Mateusz Pusz 5c0bfd9893 perf: get_canonical_unit result caching added 2024-11-16 22:07:13 +01:00
Mateusz Pusz 2390d4562d refactor: unneeded get_associated_quantity forward declaration removed 2024-11-16 22:04:25 +01:00
Mateusz Pusz 07497ce2c5 perf: get_kind_tree_root result caching added 2024-11-16 22:03:55 +01:00