Commit Graph
26 Commits
Author SHA1 Message Date
Mateusz Pusz e23f038173 Merge branch 'master' into unit_compose_ext 2023-10-06 23:38:04 +02:00
Mateusz Pusz 5a74cd66ba feat: interoperability with other libraries redesigned 2023-09-30 22:23:18 -06:00
Mateusz Pusz b2423bfded feat: quantities can now be multiplied and divided by units 2023-09-29 21:40:24 -06:00
Mateusz Pusz fb9f288c56 feat: quantity_point construction from quantity made private + make_quantity_point added 2023-08-23 12:49:14 +02:00
Mateusz Pusz 542668e801 test: more chrono tests added 2023-08-15 11:18:15 +02:00
Mateusz Pusz 7d9ae3ec31 refactor: mp_units subdirectory renamed to mp-units 2023-05-25 12:47:10 +02:00
Mateusz Pusz 11dd023143 docs: comments updated in chrono_test 2023-04-21 15:18:58 +01:00
Mateusz Pusz 1a940399c9 refactor: chrono types now convert to quantity kinds 2023-04-04 14:28:38 +02:00
Mateusz Pusz 660e62c0a6 refactor: chrono_test refactored to V2 2023-04-03 19:23:08 +02:00
Johel Ernesto Guerrero Peña 146f1d1c83 fix: improve downcast mode off 2022-03-28 10:58:02 -04:00
Mateusz Pusz 144f6951c0 style: all files refromatted with clang-format 2022-03-17 23:59:48 +01:00
Mateusz Pusz 571df5ed33 feat: conversion from quantity_point to std::chrono::time_point added
Refers #316
2021-11-23 14:37:08 +01:00
Mateusz Pusz af928dd0c7 feat: conversion helpers from mp-units to std::chrono types added
Resolves #316
2021-11-23 11:17:47 +01:00
Johel Ernesto Guerrero Peña 80eefec97c fix: add quantity_point::origin, like std::chrono::time_point::clock 2021-06-29 20:44:27 +02:00
Mateusz Pusz 37cfc53d1d refactor: IWYU applied to the source files
`alternative_namespaces` examples left out as I consider them a subject for removal in the nearest future.
2021-03-30 13:21:05 +02:00
Mateusz Pusz bbbb77286c refactor: physical replaced with isq
Refers to #249
2021-03-16 12:03:25 +01:00
Mateusz Pusz 23720d055e refactor: Refactored the library file tree
Resolves #249
2021-03-16 09:32:28 +01:00
Johel Ernesto Guerrero Peña 8d6d43b32d feat: quantity point-like support 2021-02-17 19:40:52 +01:00
Mateusz Pusz ada3c60ee9 refactor: QuantityLike concept improved 2021-02-16 19:18:14 +01:00
Mateusz Pusz 6539b492a3 fix: std::chrono::duration support fixed
Resolves #198
2021-01-04 13:05:26 +01:00
Mateusz Pusz 3d081d37e6 perf: std::is_same_v replaced with units::is_same_v 2020-12-28 18:42:03 +01:00
Mateusz Pusz dedf56b598 test: chrono unit tests fixed to use implementation-specific representation type 2020-12-22 14:36:11 +01:00
Mateusz Pusz af2f988b58 test: CTAD tests for chrono fixed 2020-10-09 23:32:35 +02:00
Mateusz Pusz a2891296c2 test: duplication in chrono test fixed 2020-10-09 23:29:18 +02:00
Mateusz Pusz d64d26a4c4 refactor: interoperability with quantity-like types simplified
Type trait specialization for each `quantity` type is not needed anymore.

Relates to #33.
2020-10-07 14:29:12 +02:00
Mateusz Pusz 2dd8c90250 feat: interoperability with std::chrono::duration and other units libraries
Resolves #33
2020-10-07 12:02:08 +02:00