Commit Graph
2607 Commits
Author SHA1 Message Date
Mateusz Pusz c53b692ac9 refactor: clang-17 has a proper support for consteval 2023-08-25 21:17:48 +02:00
Mateusz Pusz 1cb20145c8 refactor: workaroud on ratio comparison to enable clang-16 compilation 2023-08-25 21:16:16 +02:00
Mateusz Pusz a2376b9b53 refactor: workaround to enable clang-16 compilation 2023-08-25 21:15:00 +02:00
Mateusz Pusz 974110646a refactor: repeated forward declaration of make_quantity removed 2023-08-25 20:42:48 +02:00
Mateusz Pusz f37aa8bbd0 test: unused origin definition removed from concepts_test.cpp 2023-08-25 20:28:24 +02:00
Mateusz Pusz 6f1832ceb3 feat: BaseQuantitySpec concept removed as it had no use 2023-08-25 20:27:38 +02:00
Mateusz Pusz 636f1e1f92 test: conditional compilation set for constexpr round() usage 2023-08-25 19:55:36 +02:00
Mateusz Pusz c625be5ebe fix(example): transform_inclusive_scan initial value had to be explicitly provided 2023-08-25 19:49:33 +02:00
Mateusz Pusz ab3f75d3e0 refactor: make_quantity_point declaration moved to a concept header file 2023-08-25 09:32:57 +02:00
Mateusz Pusz e8fada662c fix: clang compilation changes for quantity_cast 2023-08-24 20:00:02 +02:00
Mateusz Pusz 85b6dd0e38 fix: not enough changes were commited in one of the previous commits 2023-08-24 19:32:14 +02:00
Mateusz Pusz 1bc6fdece9 fix: clang compilation workarounds added for magnitudes 2023-08-24 19:21:17 +02:00
Mateusz Pusz 9f1a42bc7f refactor: glide_computer renamed to glide_computer_lib 2023-08-24 19:19:55 +02:00
Mateusz Pusz af4615e466 test: quantity_point_test compilation enabled 2023-08-24 19:17:57 +02:00
Mateusz Pusz 8b661b9b0d test: clang does not allow skipping template template parameters 2023-08-24 19:16:36 +02:00
Mateusz Pusz 9696e7466b test: unused defintions removed from tests 2023-08-24 19:15:05 +02:00
Mateusz Pusz 624b7c7404 fix: some fixes revealed during clang compilation 2023-08-24 19:14:23 +02:00
Mateusz Pusz 3cc653fae1 build: fmt updated to 10.1.0 to enable gcc-13 compilation 2023-08-23 20:01:23 +02:00
Mateusz Pusz 14c1f34664 refactor: QuantityLike now requires value to exactly return rep 2023-08-23 20:00:32 +02:00
Mateusz Pusz a9204e2473 refactor: number() and number_in() renamed to value() and value_in()
Resolves #423
2023-08-23 17:15:32 +02:00
Mateusz Pusz ae92b49775 refactor: op[U] for quantity and quantity_point replaced with .in(U)
Resolves #469
2023-08-23 16:46:15 +02:00
Mateusz Pusz d8f646a1e4 docs: "The Affine Space" chapter updated with the latest changes 2023-08-23 15:43:19 +02:00
Mateusz Pusz 5af82e3162 refactor: point_from renamed to point_for 2023-08-23 15:42:55 +02:00
Mateusz Pusz e49e6c40ae feat: absolute() member function removed from quantity_point 2023-08-23 14:52:09 +02: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 ed279c43ab feat: quantity_point CTAD from Quantity removed 2023-08-23 11:53:49 +02:00
Mateusz Pusz 7594048850 fix: relative_point_origin::quantity_spec setting fixed 2023-08-23 11:42:43 +02:00
Mateusz Pusz 71981172c3 feat: quantity_point does not take a default origin anymore + common_qs logic removed from the binary operators 2023-08-23 10:41:37 +02:00
Mateusz Pusz d8b687d6a9 feat: absolute_zero and ice_point point origins added to SI 2023-08-18 18:51:58 +02:00
Mateusz Pusz 07ce64d6e7 refactor: relative() renamed to quantity_from_origin()
Resolves #479
2023-08-18 18:49:04 +02:00
Mateusz Pusz 7985ea2969 docs: auto replaced with type placeholders in code examples 2023-08-18 18:37:12 +02:00
Mateusz Pusz 752408449f feat: PointOrigin arithmetics support added 2023-08-18 18:35:41 +02:00
Mateusz Pusz 110986ee1f feat: quantity_cast<kind_of_qs>(associated_unit) now returns the bare unit as a reference 2023-08-18 11:11:29 +02:00
Mateusz Pusz ef39b8c4c7 feat: kind_of_qs[unit] now returns a bare unit as a reference 2023-08-18 11:01:40 +02:00
Mateusz Pusz a3cf3f4087 feat: DimensionOf and QuantitySpecOf added and reused in ReferenceOf concept 2023-08-18 10:58:25 +02:00
Mateusz Pusz 1e00acd49f docs: ACCU 2023 talk referenced in the documentation 2023-08-16 06:41:54 +02:00
Mateusz Pusz af26c48795 feat: now "7 days" will be created for std::chrono::weeks instead of a quantity in seconds 2023-08-15 11:22:23 +02:00
Mateusz Pusz 1d822d0ea4 test: relative_point_origin construction simplified 2023-08-15 11:21:07 +02:00
Mateusz Pusz 542668e801 test: more chrono tests added 2023-08-15 11:18:15 +02:00
Mateusz Pusz 059c4f4eea fix: quantity construction from std::chrono types fixed 2023-08-15 11:17:52 +02:00
Mateusz Pusz eb28aa8f8c fix: point_from() now returns a point with a proper representation type 2023-08-15 11:15:20 +02:00
Mateusz Pusz caab43cd25 Merge pull request #480 from bourumir-wyngs/master
Fix "control reaches end of non void function" error.
2023-08-06 12:22:05 +02:00
Bourumir Wyngs e3346dd8bf Fix "control reaches end of non void function" error. 2023-08-06 11:47:32 +02:00
Mateusz Pusz 53c9d96e9e docs: "No text output for points" chapter added 2023-08-04 14:35:20 +02:00
Mateusz Pusz 4c49e9c57f docs: cross-page links fixed 2023-08-03 21:23:34 +02:00
Mateusz Pusz 290161ab07 docs: subtraction of two points to get an absolute quantity case added 2023-08-03 19:05:03 +02:00
Mateusz Pusz bc2a3572ea docs: clarification and cleanup applied to "The Affine Space" chapter 2023-08-03 13:17:51 +02:00
Mateusz Pusz b8002d1940 docs: "The Affine Space" chapter updated to reflect the latest changes 2023-08-03 13:08:09 +02:00
Mateusz Pusz 794ac2fa67 test: more binary operators tests added for quantity_point 2023-08-03 11:36:07 +02:00
Mateusz Pusz 0c69747f15 refactor: quantity_point compile-time optimizations 2023-08-03 11:32:49 +02:00