Commit Graph

2994 Commits

Author SHA1 Message Date
Nebojša Cvetković a62f061028 feat: ppm parts per million
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-01-20 14:37:36 +00:00
Mateusz Pusz 1df2cc7b58 feat: do not print space between a number and percent or per_mille 2024-01-19 21:20:33 +01:00
Mateusz Pusz e51a5f6e8e docs: C++23 extensions compiler support updated 2024-01-19 19:38:51 +01:00
Mateusz Pusz 3a6249fc5e fix: explicit object parameter support fixed 2024-01-19 19:34:06 +01:00
Mateusz Pusz 840b0bd54e fix: performace regression in sudo_cast fixed 2024-01-19 16:04:55 +01:00
Mateusz Pusz fc7e1358cb feat: underlying_type type trait added 2024-01-19 16:03:21 +01:00
Mateusz Pusz d036af5647 fix: compilation errors after the last commit fixed 2024-01-19 11:09:29 +01:00
Mateusz Pusz b4f07f6e7c refactor: 💥 ReferenceOf does not take a dimension anymore
It seems unneeded and removing this check greatly simplifies common compilation errors.
2024-01-19 10:35:32 +01:00
Mateusz Pusz 81871bfd4c fix: fixed_string should not expose <iostream> 2024-01-18 19:00:06 +01:00
Mateusz Pusz 40dcc9de66 feat: basic_fixed_string contructor now can take a list of arguments 2024-01-18 18:59:10 +01:00
Mateusz Pusz 5183a5c830 fix: creation of std::string_view in basic_fixed_string::view() now is compatible with C++20 2024-01-18 18:41:29 +01:00
Mateusz Pusz 901e718deb feat: text output support added to basic_fixed_string 2024-01-18 18:07:07 +01:00
Mateusz Pusz 7296238223 refactor: 💥 fixed_string constructor taking a single character made explicit 2024-01-18 16:50:10 +01:00
Mateusz Pusz 12aebbb08b refactor: fixed_string::op[] now returns by value 2024-01-18 16:49:11 +01:00
Mateusz Pusz f2be389b57 feat: .view() member funciton added to fixed_string 2024-01-18 16:47:16 +01:00
Mateusz Pusz b7bb1c605d ci: cache_id generation changed to now include the entire date 2024-01-12 13:17:09 +01:00
Mateusz Pusz 076c8a2380 ci: saving cache even if the build fails
See: https://github.com/actions/cache/blob/main/caching-strategies.md#saving-cache-even-if-the-build-fails
2024-01-12 13:09:55 +01:00
Mateusz Pusz 363e6995ea ci: env.cache_id added to fix caching of Conan data 2024-01-12 12:55:54 +01:00
Mateusz Pusz d05817df3f docs: references reordered in an alphabetical order 2024-01-12 12:33:12 +01:00
Mateusz Pusz 9511995d04 build: find_package() calls don't spell CONFIG explicitly anymore 2024-01-12 12:32:12 +01:00
Mateusz Pusz 7c4d2cd5e4 build: CMAKE_VERIFY_INTERFACE_HEADER_SETS support added
Resolves #441
2024-01-12 12:30:57 +01:00
Mateusz Pusz 6100cefbcb docs: CONTRIBUTING.md updated 2024-01-12 12:24:03 +01:00
Mateusz Pusz 33a82310a2 ci: cxx_modules disabled for now for CMake
Gated by https://gitlab.kitware.com/cmake/cmake/-/issues/25568
2024-01-08 18:50:49 +01:00
Mateusz Pusz 8d50f29fd7 ci: clang-tools installation added to CMake CI 2024-01-08 18:44:43 +01:00
Mateusz Pusz 46c377e88c ci: cxx_modules changed to text 2024-01-08 14:17:44 +01:00
Mateusz Pusz b65854d8f3 ci: cxx_modules added to CI matrix 2024-01-08 14:08:58 +01:00
Mateusz Pusz ffc8b6bd0d test: system header files simplified in test_package 2024-01-08 13:33:00 +01:00
Mateusz Pusz c0c8838665 test: test_package now use libfmt when needed 2024-01-08 13:32:17 +01:00
Mateusz Pusz 09873c203c fix: setting cxx_std_20 fixed for library modules 2024-01-08 13:11:05 +01:00
Mateusz Pusz 2c0ebd3ec8 build: Conan dependencies updated to the latest versions 2024-01-08 13:05:40 +01:00
Mateusz Pusz 5293589900 build: all the targets now set C++20 as the minimum required version 2024-01-08 13:02:02 +01:00
Mateusz Pusz 01dbd02519 docs: "Value-truncating conversions" chapter updated as value_cast now properly works on quantity points 2024-01-08 10:30:45 +01:00
Mateusz Pusz 4690a8473a build: Conan package_info() updated to export only 2 CMake targets 2024-01-08 08:12:28 +01:00
Mateusz Pusz 09ab7729d3 docs: mp_units.core contents description extended 2024-01-07 15:45:15 +01:00
Mateusz Pusz 720f31055f docs: chrono.h header file location updated 2024-01-07 15:44:36 +01:00
Mateusz Pusz 7a8b233d49 docs: CHANGELOG updated 2024-01-07 15:42:53 +01:00
Mateusz Pusz ef75e3ece6 Merge pull request #350 from JohelEGP/modules
feat: add C++ modules support
2024-01-06 12:36:00 +01:00
Mateusz Pusz 6914142275 fix: compat_macros included to fix the compilation after rebase 2024-01-06 09:25:17 +01:00
Mateusz Pusz 53e25582e6 fix: target_sources with FILE_SET HEADERS called only when headers are present 2024-01-06 09:14:42 +01:00
Mateusz Pusz 78dedb1d1c style: whitespaces fixed in "Wide Compatibility" to make pre-commit happy 2024-01-06 08:51:01 +01:00
Mateusz Pusz 047b8a140a build: add_mp_units_module now use HEADER_SET 2024-01-06 08:51:01 +01:00
Mateusz Pusz 39a66d2c6b docs: "C++ modules" tabs added to all the code examples 2024-01-06 08:51:01 +01:00
Mateusz Pusz 9611a64ad5 docs: a note about C++ modules availability added to "Installation and Usage" chapter 2024-01-06 08:51:01 +01:00
Mateusz Pusz 58479427d1 style: cmake-format.yaml updated 2024-01-06 08:51:01 +01:00
Mateusz Pusz 98cc53ef86 docs: "Wide Compatibility" chapter added 2024-01-06 08:51:01 +01:00
Mateusz Pusz e8e3226698 docs: "Installation and Usage" refactored 2024-01-06 08:51:01 +01:00
Mateusz Pusz aaa60e0573 docs: example apllications documentation updated for modules 2024-01-06 08:51:01 +01:00
Mateusz Pusz edb7de4b11 docs: documentation updated for C++ modules 2024-01-06 08:51:01 +01:00
Mateusz Pusz e23be9aab5 fix: MP_UNITS_USE_LIBFMT was lost during refactoring 2024-01-06 08:51:01 +01:00
Mateusz Pusz 4960011ca5 fix: cxx_std_20 set for mp-units::core 2024-01-06 08:51:01 +01:00