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
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
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
d534d2c62e
docs: one_rep and Unit Constants documentation added
2020-12-29 16:33:52 +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
8cc7a53943
docs: various small documentation fixes
2020-09-14 08:45:36 +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
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
ff02575aae
docs: duplicated 'construction' chapters fixed
2020-09-08 18:39:05 +02:00
Mateusz Pusz
33ad51311b
docs: 📝 dimensionless quantities documentation added
2020-09-08 17:13:38 +02:00
Mateusz Pusz
ce301748dd
Velocity renamed to Speed ( resolves #103 )
2020-05-10 17:31:47 +02:00
Mateusz Pusz
7e935a4108
Physical units put in the physical namespace (I am sorry)
2020-05-08 22:39:24 +02:00
Mateusz Pusz
89c8c58073
Chapter titles casing unified
2020-03-26 17:09:26 +01:00
Mateusz Pusz
b65328d575
Sphinx-based documentation added
2020-03-09 18:55:41 +01:00