Commit Graph

81 Commits

Author SHA1 Message Date
Mateusz Pusz
72ef7584a4 docs: basic concets UML refactored 2021-10-20 11:21:58 +02:00
Mateusz Pusz
1525101555 docs: UML diagrams replaced to plantuml generated SVGs 2021-10-20 10:52:57 +02:00
Mateusz Pusz
8fccfd2d68 docs: quantity arithmetics moved to a separate chapter 2021-10-20 09:49:23 +02:00
Mateusz Pusz
b1bd4cab2d feat: std::format support for compliant compilers added 2021-09-20 15:01:58 +02:00
Mateusz Pusz
32d0f7c871 docs: Sphinx documentation fixes
Broken links, invalid chapter underlining, invalid code fragments, etc.
2021-08-29 22:27:13 +02:00
Mateusz Pusz
64edac75a7 docs: "Quantity References" chapter fixed 2021-08-10 14:37:03 +02: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
b894ee6558 refactor: 💥 got rid of a noble_derived_unit
Resolves #280
2021-05-10 18:03:47 +02:00
Mateusz Pusz
7ead50acfc refactor: derived_kind template parameters reordered to be compatible with a derived_unit
Resolves #229
2021-05-10 16:45:38 +02:00
Mateusz Pusz
8e88f06380 refactor: *deduced_unit renamed to *derived_unit 2021-05-10 15:56:48 +02:00
Mateusz Pusz
2c8c6c2e98 refactor: quantity cration helpers are not opt-out rather than opt-in
Resolves #277
2021-05-09 15:52:20 +02:00
Mateusz Pusz
d09cef27c9 docs: binary prefixes fixed in the docs 2021-04-17 20:00:53 +02:00
Mateusz Pusz
58f21e7e1c docs: Quantity Construction Helpers chapter updated 2021-04-16 19:03:30 +02:00
Mateusz Pusz
e88cdadd5f docs: "Dimension-Specific Aliases" fixed 2021-04-16 14:46:58 +02:00
Mateusz Pusz
bd862d3517 refactor: Fine-grained references support added 2021-04-07 11:26:45 +02:00
Mateusz Pusz
71d79aeab0 docs: reference to dimension of speed fixed in "Derived Unnamed Units" chapter 2021-04-06 16:23:54 +02:00
Mateusz Pusz
b982921d27 refactor: References are now guarded UNITS_REFERENCES with (ON by default) + examples duplicated to subdirectories
Now References can be disabled to meassure a compile time impact. Also the same examples are now provided in two subdirectories to be able to easily compare the pros and cons of every quantity construction technique.
2021-04-06 15:57:28 +02:00
Mateusz Pusz
b842c3f94a docs: q_ prefixes added for "Dimension-Specific Aliases" 2021-04-06 14:44:24 +02:00
Mateusz Pusz
c3659dbb47 refactor: UNITS_UDLS renamed to UNITS_LITERALS
Also now the existence of the preprocessor flag is enough to trigger the feature (`#ifdef` instead of `#if`)
2021-04-06 13:33:27 +02:00
Mateusz Pusz
c4e9ff7f66 docs: Documentation now prefers refrences over UDLs 2021-04-02 13:11:20 +02:00
Mateusz Pusz
88e642ec74 refactor: QuantityValue concept renamed to Representation 2021-03-19 07:53:18 +01:00
Mateusz Pusz
901b09fd52 refactor: quantity::count() renamed to quantity::number()
Resolves #259
2021-03-19 06:47:37 +01:00
Johel Ernesto Guerrero Peña
f0cfc14b83 refactor: remove operator/(Rep, reference)
Addresses https://github.com/mpusz/units/pull/261#discussion_r597289047.
2021-03-19 06:31:12 +01:00
Johel Ernesto Guerrero Peña
9da39070ed docs: update for reference<D, U> 2021-03-19 06:31:12 +01:00
Mateusz Pusz
bbbb77286c refactor: physical replaced with isq
Refers to #249
2021-03-16 12:03:25 +01:00
Mateusz Pusz
65e383a506 docs: Basic concepts embraced with examples 2021-03-05 11:31:46 +01:00
Johel Ernesto Guerrero Peña
017183653d feat: full-on dimensional analysis between related quantity kinds 2021-02-21 00:17:03 +01:00
Mateusz Pusz
f2cb24357c fix: UDLs cannot be consteval 2021-02-18 19:54:40 +01:00
Mateusz Pusz
a7f452cd12 refactor: Got rid of -Wsign-conversion warnings on UDLs
Refers to #226
2021-02-17 19:37:20 +01:00
Mateusz Pusz
86584dbfe2 docs: "UDLs vs Unit Constants" chapter extended 2021-02-17 17:54:12 +01:00
Mateusz Pusz
c641f1873f docs: Documentation updated 2021-02-16 16:19:57 +01:00
Mateusz Pusz
a8fccf0cb5 docs: Quantity Kinds docs fixed
Fixes #204
2021-02-15 20:38:24 +01:00
Johel Ernesto Guerrero Peña
6bf09aa646 feat: quantity_kind and quantity_point_kind 2021-02-15 19:31:08 +01:00
Mateusz Pusz
d534d2c62e docs: one_rep and Unit Constants documentation added 2020-12-29 16:33:52 +01:00
Mateusz Pusz
326050cfee docs: quantity_io.h described in docs 2020-12-28 17:40:29 +01:00
Mateusz Pusz
cfc90f4aac refactor: 💥 basic_concepts, quantity and quantity_cast refactored
BREAKING CHANGE:  ScalableNumber renamed to QuantityValue

Resolves #107
2020-10-06 18:17:52 +02:00
Mateusz Pusz
ffc429a4b8 docs: basic concepts UML diagram updated with quantity point 2020-09-23 16:48:51 +02:00
Mateusz Pusz
8cc7a53943 docs: various small documentation fixes 2020-09-14 08:45:36 +02:00
rbrugo
20f3aba256 Updated documentation 2020-09-10 23:09:12 +02:00
rbrugo
6f4386c14e Updated documentation 2020-09-10 23:09:12 +02:00
Mateusz Pusz
c73ed97585 docs: custom systems section extended 2020-09-10 21:16:38 +02:00
Mateusz Pusz
79558a6d72 refactor: systems defined in terms of SI moved under si namespace 2020-09-10 17:14:33 +02:00
Mateusz Pusz
9cd0cb4105 feat: two argument explicit cast support added 2020-09-10 13:01:38 +02:00
Mateusz Pusz
9527b39005 refactor: 💥 q_* UDL renamed to _q_*
We had some fun exploring the STD UDLs for potential collisions,
we have learnt our lesson and know how to proceed.
Now is high time to start behaving and obeying C++ rules.
2020-09-09 19:20:35 +02:00
Mateusz Pusz
3e9d5ca189 refactor: ♻️ unitless renamed to one
Resolves #27
2020-09-09 11:20:55 +02:00
Mateusz Pusz
9a49df7222 refactor: 💥 Scalar concept renamed to ScalableNumber
Resolves #114
2020-09-08 21:17:09 +02:00
Mateusz Pusz
88c4ef07b0 docs: Minor documentation related issues resolved 2020-09-08 20:05:30 +02:00
Mateusz Pusz
1f54edda33 docs: references section added 2020-09-08 20:04:29 +02:00
Mateusz Pusz
4cec29972f docs: quantity_point documentation fixed 2020-09-08 18:43:00 +02:00
Mateusz Pusz
ff02575aae docs: duplicated 'construction' chapters fixed 2020-09-08 18:39:05 +02:00