Commit Graph
1540 Commits
Author SHA1 Message Date
Mateusz Pusz 7a0baae1ee feat: precondition checks added to basic_symbol_text 2024-03-18 22:52:30 +09:00
Mateusz Pusz 16f4f5d4a8 refactor: fixed_string refactored to reflect the latest changes to P3094R1 2024-03-18 22:50:35 +09:00
Mateusz Pusz 02dc42738f fix: missing gsl-lite.hpp includes added 2024-03-18 20:05:08 +09:00
Mateusz Pusz a04cc62911 refactor: return type constraints improved for quantity and quantity_point 2024-03-03 17:33:48 +01:00
Mateusz Pusz 95c4ba8ee5 docs: text_encoding code comments improved 2024-02-28 08:52:58 +01:00
Mateusz Pusz 1c9eb2bdb8 feat: string header added to core_gmf 2024-02-28 08:52:40 +01:00
Mateusz Pusz 0c97be0be1 refactor: workaround for clang bug added to unit_symbol() and dimension_symbol() 2024-02-27 10:22:26 +01:00
Mateusz Pusz 563895137a fix: missing header files added to unit.h and dimension.h 2024-02-27 10:21:44 +01:00
Mateusz Pusz 64b8ace663 fix: missing export added for text_encoding 2024-02-27 10:17:32 +01:00
Mateusz Pusz 95c1357820 fix: missing type_traits.h header added 2024-02-26 10:04:24 +01:00
Mateusz Pusz e50d75a104 feat: dimension text output added
Resolves #421
2024-02-26 09:30:08 +01:00
Mateusz Pusz 10ee4cc13c feat: some light and radiation ISQ quantities added 2024-02-24 09:32:58 +01:00
Mateusz Pusz 5ca9168381 feat: proper exports implemented for C++ modules 2024-02-23 21:09:17 +01:00
Mateusz Pusz 6546878e5e fix: __cpp_explicit_this_parameter clang-18 hack applied only for C++23 and up 2024-02-23 16:51:59 +01:00
Mateusz Pusz 81ad4aedee refactor: get_canonical_unit moved out from detail namespace 2024-02-23 16:40:58 +01:00
Mateusz Pusz 97fabb9c84 refactor: compat_macros.h added to format.h 2024-02-23 16:27:21 +01:00
Mateusz Pusz caf40e10d4 refactor: core_gmf.h tuning 2024-02-23 14:12:37 +01:00
Mateusz Pusz c36fe2e9ac fix: compat_macros.h added to core_gmf.h 2024-02-23 09:06:59 +01:00
Mateusz Pusz c57d172e29 fix: compilation fixed after last commits 2024-02-22 22:35:18 +01:00
Mateusz Pusz b1466ca020 refactor: FMT macros moved to compat_macros.h 2024-02-22 20:52:39 +01:00
Mateusz Pusz 7aacf5a3bf fix: ODR violations in C++ modules fixed for clang-18 2024-02-22 20:25:05 +01:00
Mateusz Pusz cc05323b36 Merge pull request #551 from mpusz/typed_references
feat: improve types readability by eliminating extraneous () for a value of a type for references
2024-02-21 10:36:09 +01:00
Mateusz Pusz 6fed655bc3 refactor: reference interface refactored a bit to workaround clang-16 linking issues 2024-02-21 10:17:04 +01:00
Mateusz Pusz e6b9a5cb92 Revert "refactor: make_reference used to return values from reference operations"
This reverts commit 963256acf1.
2024-02-21 10:06:31 +01:00
Mateusz Pusz f81e9bdcfe refactor: kind_of_ refactored to take a type to improve error messages 2024-02-20 19:49:22 +01:00
Mateusz Pusz 8e2a3c6340 style: CheckCXXFeatureSupported.cmake reformatted to make pre-commit happy 2024-02-17 22:50:47 +01:00
Mateusz Pusz 762f56d865 build: include_guard added to AddMPUnitsModule 2024-02-17 22:44:30 +01:00
Mateusz Pusz 532b9e53d4 build: check_cxx_feature_supported added 2024-02-17 22:43:48 +01:00
Mateusz Pusz 9f08f4b170 refactor: validate_ascii_string refactored to is_basic_literal_character_set 2024-02-17 08:40:54 +01:00
Mateusz Pusz cb858f1e51 feat: ABI concerns resolved with introduction of u8 strings for symbols 2024-02-16 22:13:13 +01:00
Mateusz Pusz 54dbeea68b style: AddMPUnitsModule reformatted with cmake-format 2024-02-16 17:02:56 +01:00
Mateusz Pusz 8b9ca0e342 Merge branch 'master' of github.com:mpusz/mp-units 2024-02-16 15:46:44 +01:00
Mateusz Pusz 0035015133 build: CMake header sets require at least 3.23 2024-02-15 22:22:35 +01:00
Mateusz Pusz c24a0c060d build: add_mp_units_module improved 2024-02-15 22:20:46 +01:00
Mateusz Pusz 19826eaf3d fix: compilation fixed on C++23 2024-02-14 07:07:21 +01:00
Mateusz Pusz 26a7b35e73 Merge pull request #550 from mpusz/typed_prefixes
feat: improve types readability by eliminating extraneous `()` for a value of a type for prefixes
2024-02-13 20:45:53 +01:00
Mateusz Pusz 202c1d10da refactor: get_kind() now returns kind_of 2024-02-13 20:23:03 +01:00
Mateusz Pusz f16ac802b3 fix: a value set for __cpp_explicit_this_parameter 2024-02-13 16:26:38 +01:00
Mateusz Pusz 963256acf1 refactor: make_reference used to return values from reference operations 2024-02-06 11:28:20 +01:00
Mateusz Pusz 1663aa082f fix: quantity_spec compilation fixed 2024-02-05 20:43:36 +01:00
Mateusz Pusz b4c08bb8fe feat: improve types readability by eliminating extraneous () for a value of a type for references
Resolves #533
2024-02-05 19:41:53 +01:00
Mateusz Pusz 96dcea751d feat: improve types readability by eliminating extraneous () for a value of a type for prefixes 2024-02-05 19:12:47 +01:00
Mateusz Pusz d4dde886cb build: explicit this enabled with a workaround for clang-18 2024-02-05 16:33:32 +01:00
Mateusz Pusz 05f481d3e9 fix: thermodynamics.h header fixed to be standalone 2024-01-26 16:42:32 +01:00
Mateusz Pusz 3382cb4b30 fix: compilation issues fixed 2024-01-26 16:04:59 +01:00
Mateusz Pusz e0f9048e4b refactor: si_quantities.h added to improve compile-times 2024-01-26 15:53:18 +01:00
Mateusz Pusz 7565cd09af build: change the default value of MP_UNITS_USE_FMTLIB to be undefined by default 2024-01-26 08:04:26 +01:00
Mateusz Pusz 9b98fcb118 build: use_fmtlib build option default set to False 2024-01-23 22:36:56 +01:00
Mateusz Pusz fcadaf5d70 fix: old-style aggregate initialization used for format_checker which should fix apple-clang build 2024-01-23 22:04:31 +01:00
Mateusz Pusz 24e5ca8ad9 build: std::format enabled on clang with a hack 2024-01-23 21:34:00 +01:00