Commit Graph

2818 Commits

Author SHA1 Message Date
Mateusz Pusz ea62c74b88 docs: "Default formatting" chapter updated 2023-11-30 09:59:55 +01:00
Mateusz Pusz c002a7487a docs: commas removed from the units-unit-modifier token 2023-11-30 09:47:57 +01:00
Mateusz Pusz 5bb4e829bb docs: "Output stream formatting" chapter updated 2023-11-30 09:27:43 +01:00
Mateusz Pusz 29c83c0d84 feat: 💥 symbol_text definition simplified 2023-11-30 09:25:29 +01:00
Mateusz Pusz 97d5bb569b refactor: more type members added to fixed_string definition 2023-11-30 09:23:13 +01:00
Mateusz Pusz e689f6e582 docs: broken links to ISO 80000 fixed 2023-11-29 14:13:15 +01:00
Mateusz Pusz 683c49bef3 style: clang-format updated to 17.0.5 in pre-commit 2023-11-28 14:19:04 +01:00
Mateusz Pusz c98090f783 docs: measurement unit definition in Glossary improved 2023-11-28 11:53:21 +01:00
Mateusz Pusz fa596fffc6 refactor: 💥 make_xxx factory functions replaced with two-parameter constructors
Resolves #521
2023-11-28 11:52:37 +01:00
Mateusz Pusz 80129b32d7 Merge branch 'master' of github.com:mpusz/units 2023-11-08 15:37:16 -10:00
Mateusz Pusz dc4d73a90c fix(example): fixing compilation after the previous commit 2023-11-08 15:36:06 -10:00
Mateusz Pusz fe15572e90 feat(example): unit symbols added to the currency example 2023-11-08 15:30:24 -10:00
Mateusz Pusz 10600868a2 docs: some docs updated 2023-11-06 21:55:44 -10:00
Mateusz Pusz 0c0b48f725 docs: Design overview graph updated 2023-11-06 19:21:43 -10:00
Mateusz Pusz ae69e2e2b6 fix: are_ingredients_convertible now mandates explicit conversion for To dimensionless quantities 2023-11-06 16:52:10 -10:00
Mateusz Pusz 162514c19e docs: "canonical unit" added to glossary and its documentation in code was updated 2023-11-04 21:36:03 +01:00
Mateusz Pusz 436d288154 style: whitespaces fixed to make pre-commit happy 2023-11-04 19:43:44 +01:00
Mateusz Pusz d195e2b3bf fix: equality for dimensions fixed to provide transitivity 2023-11-03 21:18:57 +01:00
Mateusz Pusz 3dba9416cb docs: "Design Overview" chapter added and "Concepts" chapter reworked 2023-10-31 09:45:42 +01:00
Mateusz Pusz ebc5757835 docs: "Basic Concepts" and "Interface Introduction" chapters updated 2023-10-25 21:39:09 +02:00
Mateusz Pusz 6c28d743db docs: "you" replaced to "we" in many places 2023-10-25 21:27:01 +02:00
Mateusz Pusz 1f14184ac3 style: clang-format updated to clang 17 2023-10-25 14:38:26 +02:00
Mateusz Pusz 26c79a7a86 style: whitespaces fixed to make pre-commit happy 2023-10-25 14:18:42 +02:00
Mateusz Pusz 9962306fef docs: "Terms and Definitions" slightly updated 2023-10-25 14:15:01 +02:00
Mateusz Pusz ffbbd3848c docs: titles added to some important admonitions 2023-10-25 14:14:26 +02:00
Mateusz Pusz d824be6822 docs: ISO papers reference added to docs and README 2023-10-25 14:13:00 +02:00
Mateusz Pusz 0b3618d723 docs: "Getting Started" chapters updated 2023-10-25 14:12:25 +02:00
Mateusz Pusz 5cc7fb1f0b Merge branch 'master' of github.com:mpusz/mp-units 2023-10-23 09:21:41 +02:00
Mateusz Pusz 211ba6a5b3 docs: a representation type in a dimensionless quantity FAQ fixed 2023-10-23 09:21:37 +02:00
Mateusz Pusz 4abef7b245 refactor: duplicated forward declaration of quantity removed 2023-10-21 08:17:55 +02:00
Mateusz Pusz df2616927d refactor: quantity operators refactored 2023-10-20 21:21:07 +02:00
Mateusz Pusz 75fa12501c docs: CHANGELOG updated 2023-10-20 20:02:59 +02:00
Mateusz Pusz 15922b5bd8 fix: CommonlyInvocableQuantities was overconstrained for the current library design 2023-10-20 09:39:24 +02:00
Mateusz Pusz eaa2ddbf01 refactor: quantity operators constraints refactored 2023-10-20 08:42:22 +02:00
Mateusz Pusz 32ea1bd9b4 feat: common_type with a raw value is not needed anymore as for a long time now raw values are not convertible to the dimensionless quantities 2023-10-18 21:03:21 +02:00
Mateusz Pusz 90a862e8ac docs: YouTube video link updated to the C++ on Sea 2023 2023-10-18 17:40:33 +02:00
Mateusz Pusz a0dc3885e5 fix(unit test): degree Fahrenheit unit test fixed 2023-10-18 17:21:30 +02:00
Mateusz Pusz d5549ff92d feat: zero_Fahrenheit point origin added 2023-10-18 17:17:09 +02:00
Mateusz Pusz d3ad78a9dd fix: Fahrenheit conversion ratio was inverted 2023-10-18 16:34:39 +02:00
Mateusz Pusz 8e48906729 refactor: quantity_from_origin_ data member now has much less friendly name 2023-10-17 14:29:59 +02:00
Mateusz Pusz abafd1d38e refactor: numerical_value_ data member now has much less friendly name 2023-10-17 14:16:22 +02:00
Mateusz Pusz 6e7a2fd0bb refactor: order of overload for Unit changed 2023-10-17 12:11:32 +02:00
Mateusz Pusz 98d07b9ed1 feat: 💥 quantity_spec and its kind should not compare equal 2023-10-17 09:45:31 +02:00
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