Mateusz Pusz
|
472d3a4fb0
|
refactor(example): slight refactoring of examples while working on their documentation
|
2025-12-13 13:21:47 +01:00 |
|
Mateusz Pusz
|
35798a0f39
|
refactor: ostream.h header file made deprecated
|
2025-06-20 10:40:10 +02:00 |
|
Mateusz Pusz
|
7b64b4b650
|
refactor: 💥 from now unit_symbol and dimension_symbol always returns std::string_view
|
2024-11-16 09:57:53 +01:00 |
|
Mateusz Pusz
|
5810420277
|
refactor: 💥 tag types should not expose their members
|
2024-11-04 09:40:25 +01:00 |
|
Mateusz Pusz
|
4eb63227e2
|
refactor: 💥 ascii -> portable, unicode -> utf8, 'A' -> 'P'
|
2024-10-10 00:02:08 +02:00 |
|
Mateusz Pusz
|
4a98817c15
|
feat(example): currency example now uses chrono::time_point and has better interfaces
|
2024-10-01 19:53:02 +02:00 |
|
Mateusz Pusz
|
45013f6752
|
fix: inline restored for non-template constexpr global variables
|
2024-09-05 10:06:43 +02:00 |
|
Mateusz Pusz
|
2e840cfdb4
|
refactor: Repetitive inline constexpr removed as no longer needed
Not needed anymore as stated in cplusplus/draft#4601
|
2024-09-05 08:43:36 +02:00 |
|
Mateusz Pusz
|
b870b85c25
|
feat: import std; support added
Resolves #595
|
2024-07-16 17:36:00 +02:00 |
|
Mateusz Pusz
|
6aa848a456
|
feat: 💥 from now on dimnensions have to be marked as final
|
2024-06-12 14:17:32 +02:00 |
|
Mateusz Pusz
|
c69bd140b2
|
refactor: all units made final
|
2024-06-06 13:18:45 +02:00 |
|
Mateusz Pusz
|
75f719add7
|
refactor: code refactored to comply with clang-tidy
|
2024-05-08 11:12:38 +02:00 |
|
Mateusz Pusz
|
c066104af7
|
refactor: 💥 framework.h introduced + IWYU
|
2024-04-24 21:09:29 +02:00 |
|
Mateusz Pusz
|
fb8552b1d9
|
refactor: core-fmt and core-ostream modules merged with core
|
2024-01-06 08:51:01 +01:00 |
|
Mateusz Pusz
|
0eaf6e2e56
|
refactor: modules support redesigned
|
2024-01-06 08:51:01 +01:00 |
|
Johel Ernesto Guerrero Peña
|
7cb2099af5
|
feat: add module mp_units
|
2024-01-06 08:51:00 +01:00 |
|
Mateusz Pusz
|
bf51bfc96f
|
refactor(example): quantity_from_zero() used in exchange_to
|
2023-12-22 16:42:03 +01:00 |
|
Mateusz Pusz
|
10a2e6dc0d
|
feat: 💥 initial implementation of implicit point origins
|
2023-12-21 12:25:09 +01:00 |
|
Mateusz Pusz
|
da8721b997
|
feat: users are now allowed to inherit their ow types from absolute point origins
|
2023-12-03 16:15:38 +01:00 |
|
Mateusz Pusz
|
dc4d73a90c
|
fix(example): fixing compilation after the previous commit
|
2023-11-08 15:36:06 -10:00 |
|
Mateusz Pusz
|
fe15572e90
|
feat(example): unit symbols added to the currency example
|
2023-11-08 15:30:24 -10:00 |
|
Mateusz Pusz
|
2e26eed59d
|
feat: numerical_value_ref_in disallowed for rvalues
|
2023-09-13 19:59:49 +02:00 |
|
Mateusz Pusz
|
e085beef40
|
feat: qp.quantity_from(PO) added
|
2023-09-13 11:57:22 +02:00 |
|
Mateusz Pusz
|
6c576d7120
|
style: another whitespace removed from the currency example
|
2023-09-13 11:27:56 +02:00 |
|
Mateusz Pusz
|
3b2ca4084a
|
refactor: quantity_point::quantity_from_origin() refactored to quantity_point::quantity_ref_from(PO)
Resolves #479 and relates to #477
|
2023-09-13 10:09:08 +02:00 |
|
Mateusz Pusz
|
a7711cb301
|
refactor: quantity::value() refactored to quantity::value_ref_in(U)
|
2023-09-13 09:23:59 +02:00 |
|
Mateusz Pusz
|
f1c2c74ab0
|
refactor: quantity::value() renamed to quantity::numerical_value()
According to https://jcgm.bipm.org/vim/en/1.19.html "quantity value" also contains a unit. According to https://jcgm.bipm.org/vim/en/1.20.html "numerical value" is the correct term for just a number.
Resolves #423
|
2023-08-30 11:30:35 +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
|
e49e6c40ae
|
feat: absolute() member function removed from quantity_point
|
2023-08-23 14:52:09 +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
|
52ce2b21f7
|
refactor: iostream.h renamed to ostream.h
|
2023-06-23 15:03:04 +02:00 |
|
Mateusz Pusz
|
52bbd00ab4
|
style: clang-format new rules applied to the code base
|
2023-05-26 14:20:00 +02:00 |
|
Mateusz Pusz
|
7d9ae3ec31
|
refactor: mp_units subdirectory renamed to mp-units
|
2023-05-25 12:47:10 +02:00 |
|
Mateusz Pusz
|
299032a7e8
|
refactor: conversion from quantity to quantity_point is now explicit
|
2023-05-24 22:42:11 +02:00 |
|
Mateusz Pusz
|
9322aa25e4
|
Revert "feat: runtime conversion factors between units support added"
This reverts commit cc8a088013.
|
2023-05-16 16:41:51 +02:00 |
|
Mateusz Pusz
|
cc8a088013
|
feat: runtime conversion factors between units support added
|
2023-05-16 15:01:15 +02:00 |
|
Mateusz Pusz
|
9d085cbe7e
|
refactor(example): [[nodiscard]] added for currency
|
2023-05-16 15:00:18 +02:00 |
|
Mateusz Pusz
|
4209ac20fc
|
refactor(example): quantity_point support added to currency example
|
2023-05-14 13:32:12 +02:00 |
|
Mateusz Pusz
|
c892889901
|
feat(example): currency and unmanned_aerial_vehicle examples added
|
2023-05-14 10:38:08 +02:00 |
|