Mateusz Pusz
512406e900
build: got rid of global options for references and literals
2021-04-06 16:30:26 +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
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
dfd209ed14
fix: femtotonne enabled
2021-04-02 18:57:17 +02:00
Mateusz Pusz
9054420d08
build: Added an option to disable UDLs support
...
Now it is time to get rid of UDLs from tests and examples and then disable them by default.
2021-04-01 09:36:55 +02:00
Mateusz Pusz
31bf975e11
Merge branch 'master' of github.com:mpusz/units
2021-03-30 13:23:06 +02:00
Mateusz Pusz
37cfc53d1d
refactor: IWYU applied to the source files
...
`alternative_namespaces` examples left out as I consider them a subject for removal in the nearest future.
2021-03-30 13:21:05 +02:00
Mike Ford
6004fa192a
fix: corrected old names in si::constants
...
substance -> amount_of_substance
temperature -> thermodynamic_temperature
2021-03-27 18:39:04 +01:00
Björn Schäpers
adca315f15
fix: Add missing include
...
Otherwise the namespace si is not defined
2021-03-25 08:54:22 +01:00
Mateusz Pusz
fc7b0e44e2
feat: 💥 !data system renamed to isq::iec80000 (quantity names renamed too)
...
Relates to #253
2021-03-19 23:04:52 +01:00
Mateusz Pusz
88e642ec74
refactor: QuantityValue concept renamed to Representation
2021-03-19 07:53:18 +01:00
Mateusz Pusz
07cb258eff
Merge branch 'add_symbolrate' of https://github.com/go2sh/units into go2sh-add_symbolrate
2021-03-19 07:35:20 +01:00
Mateusz Pusz
6c4dc95897
Merge branch 'add_si_prefix_bit' of https://github.com/go2sh/units into go2sh-add_si_prefix_bit
2021-03-19 07:24:53 +01:00
Johel Ernesto Guerrero Peña
018c5837f9
refactor: rename unit_constants to references
...
Addresses https://github.com/mpusz/units/pull/261#discussion_r596663522 .
2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña
9a520edfe9
refactor!: replace one_rep with reference<D, U>
2021-03-18 22:37:25 +01:00
Mateusz Pusz
37473eb8ad
refactor: core-io and core-fmt separate modules added
2021-03-17 13:46:28 +01:00
Mateusz Pusz
b356a53fa4
build: installation of mp-units and mp-units-systems fixed
2021-03-16 23:40:57 +01:00
Mateusz Pusz
221883bb25
build: core library and each system separated to dedicated CMake targets
...
Refers to #249
2021-03-16 23:05:45 +01:00