Commit Graph
3227 Commits
Author SHA1 Message Date
Yves DelleyandMateusz Pusz 6c85ba3f17 Update src/systems/include/mp-units/systems/si/unit_symbols.h
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-05-14 15:50:04 +02:00
Yves Delley d4734f630d add missing unit symbols for ohm 2024-05-11 11:10:30 +02:00
Mateusz Pusz 9cddc21035 Merge pull request #572 from burnpanck/bugfix/allow-lvalue-references-in-value-cast
`value_cast` of `quantity_point` should accept lvalue references
2024-05-11 17:19:16 +09:00
Yves Delley f74f99b7b1 Merge branch 'master' into bugfix/allow-lvalue-references-in-value-cast 2024-05-10 23:29:43 +02:00
Yves Delley 1eb491750c fix formatting 2024-05-10 23:26:12 +02:00
Yves Delley 14f658120e fix value_cast with lvalue references to quantity_point 2024-05-10 23:14:17 +02:00
Yves Delley 8f8b908b3d added more tests, hopefully, the issue does now surface 2024-05-10 23:07:55 +02:00
Yves Delley be8fc9eb98 add tests for value_cast of quantity_point 2024-05-10 22:45:33 +02:00
Mateusz Pusz 9300cb72ea Merge pull request #570 from burnpanck/feature/math-for-quantity-point
added support for quantity_point math
2024-05-11 05:38:49 +09:00
Yves Delley 086e62c80c suggestions from review 2024-05-10 22:23:52 +02:00
Mateusz Pusz 4c7f58ec94 Merge pull request #569 from burnpanck/bugfix/allow-lvalue-references-in-quantity-cast
[WIP] Bugfix: `quantity_cast` fails to compile when provided with a lvalue reference
2024-05-11 05:06:23 +09:00
Yves DelleyandMateusz Pusz 09c7b059c7 review suggestions
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-05-10 21:38:40 +02:00
Yves Delley c2fa8a9000 avoid using a function for the lvalue test 2024-05-10 21:13:21 +02:00
Yves Delley d03f9c17a3 fix constexpr and format 2024-05-10 20:15:15 +02:00
Yves Delley d8371074f8 fix quantity_cast to accept lvalue references 2024-05-10 20:07:07 +02:00
Yves Delley ddbdd6a4c2 added support for isfinite isinf and isnan on instances of quantity_point 2024-05-10 20:05:36 +02:00
Yves Delley b119abed56 add test for lvalue references in quantity_cast 2024-05-10 20:01:35 +02:00
Mateusz Pusz 15404cd3a7 docs: Compiler Explorer links updated to reflect the systems file tree refactoring 2024-05-09 18:08:13 +02:00
Mateusz Pusz e4232b5834 docs: examples in README do not use C++ modules anymore 2024-05-09 15:51:33 +02:00
Mateusz Pusz c0f1ff701d build: additional options added to clang-tidy command and clang-tidy-18 hardcoded as an executable to use 2024-05-08 21:53:01 +02:00
Mateusz Pusz 54d144d112 refactor: workarounds for clang-tidy-18 2024-05-08 14:46:04 +02:00
Mateusz Pusz 23ab3ecef4 feat: CMake CI updated to support the changes introduced in the latest Conan version 2024-05-08 14:35:00 +02:00
Mateusz Pusz 999012dd97 build: CMAKE_EXPORT_COMPILE_COMMANDS flag enabled for the developer's build 2024-05-08 12:16:37 +02:00
Mateusz Pusz 5bac7d341d style: clang-format applied to distibution_test.cpp 2024-05-08 12:16:02 +02:00
Mateusz Pusz 1c164b798a fix: some clang-tidy related changes reverted to fix clang-16 compilation 2024-05-08 12:14:38 +02:00
Mateusz Pusz 3dcb8f4f49 refactor: remove dependency on <ranges> header and switch to use an iterator-based copy algorithm 2024-05-08 11:18:54 +02:00
Mateusz Pusz 75f719add7 refactor: code refactored to comply with clang-tidy 2024-05-08 11:12:38 +02:00
Mateusz Pusz 901b5e5394 docs: formatting grammar language changed to EBNF 2024-05-05 18:58:40 +02:00
Mateusz Pusz 79a1d61c5c fix: handling of MP_UNITS_BUILD_CXX_MODULES fixed 2024-04-25 19:33:30 +02:00
Mateusz Pusz f770057052 refactor: IWYU updates 2024-04-25 19:33:03 +02:00
Mateusz Pusz 8ea346be1c refactor: 💥 header files with the entire system definitions moved up in the directory tree 2024-04-25 16:34:11 +02:00
Mateusz Pusz dbc225961d docs: 2.2 release announcement updated 2024-04-25 16:24:43 +02:00
Mateusz Pusz a5b2b793e4 docs: "Project structure" chapter expanded 2024-04-25 16:23:59 +02:00
Mateusz Pusz fbe3cec982 feat: 💥 core.h removed 2024-04-25 16:09:00 +02:00
Mateusz Pusz 56bfe8f011 refactor: underlying_type split to wrapped_type and value_type and used in code 2024-04-25 16:08:23 +02:00
Mateusz Pusz 4e339cdcd8 docs: ext header files got comments describing their purpose 2024-04-25 14:36:35 +02:00
Mateusz Pusz 11960a23ae refactor: 💥 type list tools made and implementation detail of the library 2024-04-24 21:10:25 +02:00
Mateusz Pusz c066104af7 refactor: 💥 framework.h introduced + IWYU 2024-04-24 21:09:29 +02:00
Mateusz Pusz 2a05f931e7 build: MP_UNITS_BUILD_AS_SYSTEM_HEADERS restored (but renamed) 2024-04-24 20:17:39 +02:00
Mateusz Pusz e4ea668998 build: IWYU enabled on GCC 2024-04-24 20:10:44 +02:00
Mateusz Pusz 5c680199b8 build: IWYU path handling fixed 2024-04-24 12:43:56 +02:00
Mateusz Pusz 117e8bd740 ci: Conan and CMake CI now use different cache names 2024-04-23 10:38:26 +02:00
Mateusz Pusz ece2b096fb style: clang-format to make pre-commit happy 2024-04-23 09:19:50 +02:00
Mateusz Pusz 15389107d4 fix: dependencies on cstdint header fixed 2024-04-23 08:59:14 +02:00
Mateusz Pusz 8580c59875 build: formatting headers moved back to compat_macros.h but this time they are included conditionally 2024-04-23 08:56:27 +02:00
Mateusz Pusz 5449fe7418 fix: formatting headers added to core_gmf.h 2024-04-22 21:20:24 +02:00
Mateusz Pusz 3a16a020e7 fix: fixed_string compilation fixed 2024-04-22 20:46:40 +02:00
Mateusz Pusz 031fa62e36 refactor: reference returns auto to improve compilation times 2024-04-22 19:22:01 +02:00
Mateusz Pusz e20492e159 build: formatting headers moved from compat_macros.h to fmt.h 2024-04-22 19:21:18 +02:00
Mateusz Pusz 795277cfeb docs: smoot example improved 2024-04-20 17:20:33 +01:00