Mateusz Pusz
f4747a4d7d
refactor: ♻️ more file system related cleanup (mostly physical dimensions definitions)
...
BREAKING_CHANGE: current, substance, temperature renamed to proper names
2020-09-11 21:16:26 +02:00
Johel Ernesto Guerrero Peña
c284b7e25a
refactor: simplify Prefix
2020-09-10 08:20:17 +02:00
Johel Ernesto Guerrero Peña
bc8632ee27
fix: Prefix
2020-09-10 08:20:17 +02:00
Mateusz Pusz
dba2b7f44f
docs: TODO added
...
The suggested code still is not supported by the latest available VS version
2020-09-08 23:00:00 +02:00
Mateusz Pusz
9a49df7222
refactor: 💥 Scalar concept renamed to ScalableNumber
...
Resolves #114
2020-09-08 21:17:09 +02:00
Johel Ernesto Guerrero Peña
675d77f3ba
fix: unconditional typename
2020-09-08 20:10:36 +02:00
Johel Ernesto Guerrero Peña
2600ababb6
style: fix indentation
2020-09-08 20:10:36 +02:00
Johel Ernesto Guerrero Peña
0021e66651
style: complete section name
2020-09-08 20:10:36 +02:00
Johel Ernesto Guerrero Peña
7fb8b456bc
refactor: simplify dimension_unit
2020-09-08 20:10:36 +02:00
Mateusz Pusz
8c9986dec8
Merge branch 'master' of github.com:mpusz/units
2020-09-08 13:23:36 +02:00
Mateusz Pusz
f1bb1910f3
style: Prefix concept still does not work :-(
2020-09-08 13:14:21 +02:00
Mateusz Pusz
4bb51586dc
refactor: got rid of gcc-9 backlog
...
BREAKING CHANGE: gcc-9.3 no longer supported
2020-09-08 13:09:34 +02:00
Mateusz Pusz
563b358d5e
feat!: 💥 dimensionless quantities refactored
...
Dimensionless quantities are now represented by quantity types rather
than by plain representation types. Only dimensionless quantities with
`unitless` unit are implicitly convertible from representation types.
`units::exp()` now is a function doing std::exp() on a representation
type (previous `units::exp` class template was renamed to
`units::exponent`).
BREAKING_CHANGE: gcc-9.3 support removed
BREAKING_CHANGE: `exp` and `Exp` renamed to `exponent` and `Exponent`
Resolves #27
Resolves #42
2020-09-08 11:02:16 +02:00
Johel Ernesto Guerrero Peña
f83ba6eb39
refactor: remove indirection for further simplification
2020-09-08 09:42:27 +02:00
Johel Ernesto Guerrero Peña
8fc0c254a6
style: add TODO comment for when to update
2020-09-08 09:42:27 +02:00
Johel Ernesto Guerrero Peña
fac1f582c8
chore: iwyu
2020-09-08 09:42:27 +02:00
Johel Ernesto Guerrero Peña
9299131174
refactor: simplify is_derived_from_{scaled_unit,base_dimension}
2020-09-08 09:42:27 +02:00
Johel Ernesto Guerrero Peña
46761ea2f7
refactor: *_instantation_of to *_specialization_of
2020-09-06 22:52:01 +02:00
Mateusz Pusz
b318e8d039
VS2019 support added
2020-09-04 23:06:57 +02:00
Mateusz Pusz
018d95e935
Dimensions concepts definitions refactored
2020-06-29 20:31:39 +02:00
Mateusz Pusz
d171f5451e
NTTP ratio support added ( resolves #49 )
2020-06-27 19:15:46 +02:00
Johel Ernesto Guerrero Peña
75119eef3f
feat: quantity_point
2020-06-17 15:31:22 +02:00
Mateusz Pusz
e58c8054bc
Doxygen documentation added
2020-05-13 15:33:29 +02:00
Mateusz Pusz
cf7dab42c3
doxygen link resolution failure fixed
2020-05-11 12:38:50 +02:00
Mateusz Pusz
56d0b6d4a2
Typo fixed
2020-05-08 22:57:21 +02:00
Mateusz Pusz
d19825e14c
Numeric concepts removed from repo (no longer used)
2020-03-28 12:08:37 +01:00
Mateusz Pusz
ecb158eaa7
Concepts enabled for customization points
2020-03-26 16:37:47 +01:00
Mateusz Pusz
9fbf17be06
Scalar concept extended
...
Scalar concept extended with types that are not constructible from and integral type
2020-03-25 22:06:07 +01:00
Mateusz Pusz
ab1cc4b8e7
Overconstrained quantity operations relaxed
2020-03-25 15:04:33 +01:00
Mateusz Pusz
034f239f96
PrefixType renamed to PrefixFamily + units hierarchy PNG fixed
2020-03-19 14:44:56 +01:00
Oliver Schönrock
834d1fa09d
extending the range of operator* for incoherent units with large num/den
...
this improves the situation for #55 (doesn't solve it outright)
motivating examples which now work are:
1q_mi * 1q_mi * 1q_mi
1q_au * 1q_au
tests added and docs updated
2020-02-20 23:46:55 +01:00
Mateusz Pusz
395a98c055
WrappedUnit support added
2020-02-20 20:16:05 +01:00
Mateusz Pusz
00d863508d
base_dimension refactored
...
- now stores dimension's symbol rather than its name
- temperature and current renamed to exactly match their names in SI
2019-12-16 15:58:41 +01:00
Mateusz Pusz
6596c15238
scaled_unit template parameters order fixed (sorry Oliver)
2019-12-14 21:16:15 +01:00
Mateusz Pusz
5ef0bb9a9f
base_dimension more constrained and comparison fixed
2019-12-14 21:12:17 +01:00
Mateusz Pusz
8d1eb4c415
derived_dimension code split to a few smaller files
2019-12-14 12:23:47 +01:00
Mateusz Pusz
b1b63e1b3a
2 parital specializations of a derived_dimension split to different types
2019-12-14 11:44:56 +01:00
Mateusz Pusz
fbf3ef8c4f
Most of concepts moved to a new file + quantity.h split to smaller pieces
2019-12-12 13:17:31 +01:00
Mateusz Pusz
bc1901f4f0
Text formatting enabled + directory tree refactoring
2019-12-11 08:07:13 +01:00
Mateusz Pusz
c48bfe2098
quantity refactored and quantity_test enabled
2019-12-04 17:46:19 +01:00