Commit Graph

  • c3077238c0 docs: CRTP full name fixed Mateusz Pusz 2023-08-26 20:43:58 +02:00
  • a9a043d892 style: whitespace removed to make pre-commit happy Mateusz Pusz 2023-08-26 20:28:49 +02:00
  • 6635ea95a4 ci: use gcc-11 for CodeQL analysis Mateusz Pusz 2023-08-26 20:27:26 +02:00
  • d42c89e459 ci: check if gcc-13 is available Mateusz Pusz 2023-08-26 20:26:56 +02:00
  • 66a37e0f62 build: supported compilers adjusted or Conan Mateusz Pusz 2023-08-26 20:05:09 +02:00
  • 8d69101350 ci: compilers configuration adjusted to currently supported ones Mateusz Pusz 2023-08-26 20:04:48 +02:00
  • 3705404d14 docs: QUANTITY_SPEC macro tip added Mateusz Pusz 2023-08-26 19:47:10 +02:00
  • 631ad69d8b docs: "Supported compilers" section updated Mateusz Pusz 2023-08-26 19:45:53 +02:00
  • 4705382c17 test: a few checks trigger a bug in clang so they were disabled from compilation on this compiler Mateusz Pusz 2023-08-26 19:43:09 +02:00
  • af827ca50f refactor: small math functions refactoring to make clang happy Mateusz Pusz 2023-08-26 19:27:48 +02:00
  • 35efff66d4 build: clang-format updated to 16.0.6 in pre-commit Mateusz Pusz 2023-08-25 23:06:35 +02:00
  • f29c57d367 style: formatting to make pre-commit happy Mateusz Pusz 2023-08-25 23:05:36 +02:00
  • f7bd67bf09 fix: invalid preprocessor conditions fixed Mateusz Pusz 2023-08-25 22:48:27 +02:00
  • 27ec678314 refactor: workarounds to make gcc-11 compile Mateusz Pusz 2023-08-25 22:47:32 +02:00
  • 05a307564a refactor(example): gcc-11 ICE on the previous code Mateusz Pusz 2023-08-25 22:16:40 +02:00
  • c53b692ac9 refactor: clang-17 has a proper support for consteval Mateusz Pusz 2023-08-25 21:17:48 +02:00
  • 1cb20145c8 refactor: workaroud on ratio comparison to enable clang-16 compilation Mateusz Pusz 2023-08-25 21:16:16 +02:00
  • a2376b9b53 refactor: workaround to enable clang-16 compilation Mateusz Pusz 2023-08-25 21:15:00 +02:00
  • 974110646a refactor: repeated forward declaration of make_quantity removed Mateusz Pusz 2023-08-25 20:42:48 +02:00
  • f37aa8bbd0 test: unused origin definition removed from concepts_test.cpp Mateusz Pusz 2023-08-25 20:28:24 +02:00
  • 6f1832ceb3 feat: BaseQuantitySpec concept removed as it had no use Mateusz Pusz 2023-08-25 20:27:38 +02:00
  • 636f1e1f92 test: conditional compilation set for constexpr round() usage Mateusz Pusz 2023-08-25 19:55:36 +02:00
  • c625be5ebe fix(example): transform_inclusive_scan initial value had to be explicitly provided Mateusz Pusz 2023-08-25 19:49:33 +02:00
  • ab3f75d3e0 refactor: make_quantity_point declaration moved to a concept header file Mateusz Pusz 2023-08-25 09:32:57 +02:00
  • e8fada662c fix: clang compilation changes for quantity_cast Mateusz Pusz 2023-08-24 20:00:02 +02:00
  • 85b6dd0e38 fix: not enough changes were commited in one of the previous commits Mateusz Pusz 2023-08-24 19:32:14 +02:00
  • 1bc6fdece9 fix: clang compilation workarounds added for magnitudes Mateusz Pusz 2023-08-24 19:21:17 +02:00
  • 9f1a42bc7f refactor: glide_computer renamed to glide_computer_lib Mateusz Pusz 2023-08-24 19:19:55 +02:00
  • af4615e466 test: quantity_point_test compilation enabled Mateusz Pusz 2023-08-24 19:17:57 +02:00
  • 8b661b9b0d test: clang does not allow skipping template template parameters Mateusz Pusz 2023-08-24 19:16:36 +02:00
  • 9696e7466b test: unused defintions removed from tests Mateusz Pusz 2023-08-24 19:15:05 +02:00
  • 624b7c7404 fix: some fixes revealed during clang compilation Mateusz Pusz 2023-08-24 19:14:23 +02:00
  • 3cc653fae1 build: fmt updated to 10.1.0 to enable gcc-13 compilation Mateusz Pusz 2023-08-23 20:01:23 +02:00
  • 14c1f34664 refactor: QuantityLike now requires value to exactly return rep Mateusz Pusz 2023-08-23 20:00:32 +02:00
  • a9204e2473 refactor: number() and number_in() renamed to value() and value_in() Mateusz Pusz 2023-08-23 17:15:32 +02:00
  • ae92b49775 refactor: op[U] for quantity and quantity_point replaced with .in(U) Mateusz Pusz 2023-08-23 16:46:15 +02:00
  • d8f646a1e4 docs: "The Affine Space" chapter updated with the latest changes Mateusz Pusz 2023-08-23 15:43:19 +02:00
  • 5af82e3162 refactor: point_from renamed to point_for Mateusz Pusz 2023-08-23 15:42:55 +02:00
  • e49e6c40ae feat: absolute() member function removed from quantity_point Mateusz Pusz 2023-08-23 14:52:09 +02:00
  • fb9f288c56 feat: quantity_point construction from quantity made private + make_quantity_point added Mateusz Pusz 2023-08-23 12:49:14 +02:00
  • ed279c43ab feat: quantity_point CTAD from Quantity removed Mateusz Pusz 2023-08-23 11:53:49 +02:00
  • 7594048850 fix: relative_point_origin::quantity_spec setting fixed Mateusz Pusz 2023-08-23 11:42:43 +02:00
  • 71981172c3 feat: quantity_point does not take a default origin anymore + common_qs logic removed from the binary operators Mateusz Pusz 2023-08-23 10:41:37 +02:00
  • d8b687d6a9 feat: absolute_zero and ice_point point origins added to SI Mateusz Pusz 2023-08-18 18:51:58 +02:00
  • 07ce64d6e7 refactor: relative() renamed to quantity_from_origin() Mateusz Pusz 2023-08-18 18:44:52 +02:00
  • 7985ea2969 docs: auto replaced with type placeholders in code examples Mateusz Pusz 2023-08-18 18:37:12 +02:00
  • 752408449f feat: PointOrigin arithmetics support added Mateusz Pusz 2023-08-18 18:35:41 +02:00
  • 110986ee1f feat: quantity_cast<kind_of_qs>(associated_unit) now returns the bare unit as a reference Mateusz Pusz 2023-08-18 11:10:59 +02:00
  • ef39b8c4c7 feat: kind_of_qs[unit] now returns a bare unit as a reference Mateusz Pusz 2023-08-18 11:01:40 +02:00
  • a3cf3f4087 feat: DimensionOf and QuantitySpecOf added and reused in ReferenceOf concept Mateusz Pusz 2023-08-18 10:58:25 +02:00
  • 1e00acd49f docs: ACCU 2023 talk referenced in the documentation Mateusz Pusz 2023-08-16 06:41:54 +02:00
  • af26c48795 feat: now "7 days" will be created for std::chrono::weeks instead of a quantity in seconds Mateusz Pusz 2023-08-15 11:22:23 +02:00
  • 1d822d0ea4 test: relative_point_origin construction simplified Mateusz Pusz 2023-08-15 11:21:07 +02:00
  • 542668e801 test: more chrono tests added Mateusz Pusz 2023-08-15 11:18:15 +02:00
  • 059c4f4eea fix: quantity construction from std::chrono types fixed Mateusz Pusz 2023-08-15 11:17:52 +02:00
  • eb28aa8f8c fix: point_from() now returns a point with a proper representation type Mateusz Pusz 2023-08-15 11:15:20 +02:00
  • caab43cd25 Merge pull request #480 from bourumir-wyngs/master Mateusz Pusz 2023-08-06 12:22:05 +02:00
  • e3346dd8bf Fix "control reaches end of non void function" error. Bourumir Wyngs 2023-08-06 11:43:43 +02:00
  • 53c9d96e9e docs: "No text output for points" chapter added Mateusz Pusz 2023-08-04 14:35:20 +02:00
  • 4c49e9c57f docs: cross-page links fixed Mateusz Pusz 2023-08-03 21:23:34 +02:00
  • 290161ab07 docs: subtraction of two points to get an absolute quantity case added Mateusz Pusz 2023-08-03 19:05:03 +02:00
  • bc2a3572ea docs: clarification and cleanup applied to "The Affine Space" chapter Mateusz Pusz 2023-08-03 13:17:51 +02:00
  • b8002d1940 docs: "The Affine Space" chapter updated to reflect the latest changes Mateusz Pusz 2023-08-03 13:08:09 +02:00
  • 794ac2fa67 test: more binary operators tests added for quantity_point Mateusz Pusz 2023-08-03 11:36:07 +02:00
  • 0c69747f15 refactor: quantity_point compile-time optimizations Mateusz Pusz 2023-08-03 11:32:49 +02:00
  • 3628e99aaa feat: CTAD for quantity_point can now deduce point_origin Mateusz Pusz 2023-08-03 11:31:58 +02:00
  • dd9fd761a3 refactor: now we have only one quantity_point converting constructor Mateusz Pusz 2023-08-02 11:21:09 +02:00
  • ccdf5d319a feat: point_from extended with the case of the same origin Mateusz Pusz 2023-08-02 11:20:32 +02:00
  • c289bbcfdb refactor: parent_origin renamed to quantity_point in relative_point_origin Mateusz Pusz 2023-08-02 08:55:29 +02:00
  • 730f4da136 test: various origins tests added for quantity_point Mateusz Pusz 2023-08-01 22:07:24 +02:00
  • 1328ae4245 feat: point_from added to quantity_point Mateusz Pusz 2023-08-01 22:06:15 +02:00
  • 0292048252 refactor: quantity_point converting constructor simplified Mateusz Pusz 2023-08-01 22:04:46 +02:00
  • 4c2e288017 feat: explicit this interfaces added for getters in quantity and quantity_point Mateusz Pusz 2023-08-01 17:26:00 +02:00
  • 5015d7c3e3 fix: explicit this interfaces fixed for quantity_spec Mateusz Pusz 2023-08-01 17:25:15 +02:00
  • b19bf0761c feat: relative_point_origin support added Mateusz Pusz 2023-08-01 17:24:01 +02:00
  • c12bf20703 feat: lvalue reference overload of relative() added Mateusz Pusz 2023-08-01 15:53:45 +02:00
  • c12b3b1ccc feat: lvalue reference overload of number() added Mateusz Pusz 2023-08-01 15:51:49 +02:00
  • acfbd07bb7 docs: unit_symbol_solidus comments changed to use unicode Mateusz Pusz 2023-08-01 12:40:28 +02:00
  • ea6325a5eb refactor: some parameterized quantity specs renamed Mateusz Pusz 2023-08-01 12:38:29 +02:00
  • 092e1569a7 feat: heat is now a quantity of energy kind Mateusz Pusz 2023-08-01 12:36:27 +02:00
  • 7ce8173b40 test: initial version of quantity_point_test added Mateusz Pusz 2023-08-01 12:04:31 +02:00
  • 571bf47b95 test: quantity_test cleanup Mateusz Pusz 2023-08-01 12:01:12 +02:00
  • a6e4851efe test: more binary operators tests added for quantity Mateusz Pusz 2023-08-01 12:00:35 +02:00
  • 2ddbb365f3 feat: QuantityPointOf concept now has a special case for absolute_point_origin Mateusz Pusz 2023-08-01 11:59:08 +02:00
  • f18f3c24f8 feat: quantity_point CTAD for Rep and QuantityLike removed Mateusz Pusz 2023-08-01 11:58:21 +02:00
  • 613bbca620 fix: quantity_point now uses absolute() instead of relative() for comparisons Mateusz Pusz 2023-08-01 11:57:20 +02:00
  • 823fe26a13 feat: quantity_point binary operators are now constrained to prevent weakening of the origin Mateusz Pusz 2023-08-01 11:55:39 +02:00
  • 1e81069d53 feat: absolute_point_origin convertibility removed Mateusz Pusz 2023-08-01 11:53:50 +02:00
  • da3fcf091e docs: initial version of "Affine Space" chapter Mateusz Pusz 2023-07-30 18:29:35 +02:00
  • 615c35f5b6 docs: "Text Output" chapter added Mateusz Pusz 2023-07-24 17:36:49 +02:00
  • 6bf55ff6cb docs: headers simplified and the Compiler Explorer links updated for an example app Mateusz Pusz 2023-07-13 18:32:36 +02:00
  • 60a564a867 refactor(example): simpler header files used Mateusz Pusz 2023-07-11 19:48:22 +02:00
  • 3569ec76ea docs: "Representation types for vector and tensor quantities" extended Mateusz Pusz 2023-07-11 19:27:26 +02:00
  • 1f1258d4e3 docs: C++23 examples placed first so they open by default in the docs Mateusz Pusz 2023-07-11 17:22:32 +02:00
  • 8076916d5c docs: Compiler Explorer link added to hello_units example Mateusz Pusz 2023-07-11 15:49:04 +02:00
  • c1303dce2b docs: Tagging of examples added Mateusz Pusz 2023-07-11 15:40:23 +02:00
  • 2f7ecbc19d docs: "Dimensionless Quantities" chapter added Mateusz Pusz 2023-07-10 17:56:05 +02:00
  • 1585f96bef docs: "Basic Concepts" TOC refactored Mateusz Pusz 2023-07-10 16:55:44 +02:00
  • 8765a9c1e3 refactor(example): StorageTank example now properly uses horizontal_area quantity Mateusz Pusz 2023-07-10 16:54:25 +02:00
  • 5d73cd0730 feat: dimensionless quantities with a unit one are not special anymore Mateusz Pusz 2023-07-10 16:53:49 +02:00