Mateusz Pusz
e367afed71
Merge branch 'downcasting_2.0'
2020-09-09 20:31:03 +02:00
Mateusz Pusz
7ed4f19ef3
refactor: ♻️ exp_* operations on exponents renamed to `exponent_*
2020-09-08 11:10:33 +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
Mateusz Pusz
b318e8d039
VS2019 support added
2020-09-04 23:06:57 +02:00
Mateusz Pusz
5c98924efb
Downcasting reworked to allow OFF and AUTO modes
2020-08-19 13:37:57 +02:00
Mateusz Pusz
653a090a8a
unknown_dimension simplified
2020-08-18 14:27:33 +02:00
Mateusz Pusz
9f94a73bba
Custom is_same implementation added
2020-06-29 20:30:59 +02:00
Mateusz Pusz
d171f5451e
NTTP ratio support added ( resolves #49 )
2020-06-27 19:15:46 +02:00
Mateusz Pusz
0c89df3980
unknown_unit renamed to unknown_coherent_unit
2020-02-22 09:37:40 +01:00
Mateusz Pusz
645570ff57
Library updated to the latest cmake common tools
2020-01-31 17:02:27 +01:00
Mateusz Pusz
d5f7de8ecb
unknown_dimension definition changed to contain at least one exponent
2019-12-17 08:36:31 +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
b1b63e1b3a
2 parital specializations of a derived_dimension split to different types
2019-12-14 11:44:56 +01:00
Mateusz Pusz
bc1901f4f0
Text formatting enabled + directory tree refactoring
2019-12-11 08:07:13 +01:00