Mateusz Pusz
|
309da80c32
|
refactor: unit_text.h header include moved to text-related targets
|
2021-03-31 12:25:26 +02:00 |
|
Mateusz Pusz
|
441db47928
|
fix: MSVC Release build fixed + pragmas usage refactored
|
2021-03-30 20:00:23 +02:00 |
|
Mateusz Pusz
|
8a26eaf420
|
fix: VS build fixed
|
2021-03-30 14:47:05 +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 |
|
Mateusz Pusz
|
1197fa1ec4
|
fix: MSVC shadowing warning disabled for fmt_unit_test.cpp
|
2021-03-19 23:31:36 +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 |
|
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
|
c61b8643d7
|
refactor(test): rename references.cpp to references_test.cpp
Addresses https://github.com/mpusz/units/pull/261#discussion_r597217632.
|
2021-03-18 22:37:25 +01:00 |
|
Johel Ernesto Guerrero Peña
|
ed94ba347f
|
refactor(test): rename unit_constants.cpp to references.cpp
Addresses https://github.com/mpusz/units/pull/261#discussion_r597137577.
|
2021-03-18 22:37:25 +01:00 |
|
Johel Ernesto Guerrero Peña
|
0b87e7c99c
|
refactor!: require explicit number for references
Addresses:
- https://github.com/mpusz/units/pull/261#discussion_r596651065
- https://github.com/mpusz/units/pull/261#discussion_r596664550
- https://github.com/mpusz/units/pull/261#discussion_r597132294
|
2021-03-18 22:37:25 +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
|
221883bb25
|
build: core library and each system separated to dedicated CMake targets
Refers to #249
|
2021-03-16 23:05:45 +01:00 |
|
Mateusz Pusz
|
bbbb77286c
|
refactor: physical replaced with isq
Refers to #249
|
2021-03-16 12:03:25 +01:00 |
|
Mateusz Pusz
|
23720d055e
|
refactor: Refactored the library file tree
Resolves #249
|
2021-03-16 09:32:28 +01:00 |
|
Mateusz Pusz
|
5c94a40906
|
build: COMP_XXX renamed to UNITS_COMP_XXX
|
2021-03-15 21:13:21 +01:00 |
|
Mateusz Pusz
|
625f452daa
|
build: libc++ support added
|
2021-03-15 21:11:26 +01:00 |
|
Mateusz Pusz
|
53f0b5a4e5
|
test: unused variable in Release disabled with [[maybe_unused]]
|
2021-03-15 18:48:18 +01:00 |
|
Johel Ernesto Guerrero Peña
|
94eb477f02
|
refactor: apply comments
|
2021-03-15 15:19:50 +01:00 |
|
Johel Ernesto Guerrero Peña
|
f228ddfd77
|
test: fix misc Clang warnings
|
2021-03-15 14:26:46 +01:00 |
|
Johel Ernesto Guerrero Peña
|
1fec222ad3
|
test: fix si_cgs_test.cpp
|
2021-03-15 14:26:21 +01:00 |
|
Johel Ernesto Guerrero Peña
|
3002c5673d
|
test: compile quantity_test.cpp with -DUNITS_DOWNCAST_MODE=0
|
2021-03-15 14:24:26 +01:00 |
|
Mateusz Pusz
|
7c9e35dcd6
|
refactor: explicit usage unified accross the library
|
2021-03-13 19:55:18 +01:00 |
|
Mateusz Pusz
|
b5f1eb33ac
|
feat: energy_density and radioactivity definitions added
Although, they are disabled because of downcasting issues.
|
2021-03-13 19:39:59 +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 |
|
Johel Ernesto Guerrero Peña
|
8d6d43b32d
|
feat: quantity point-like support
|
2021-02-17 19:40:52 +01:00 |
|
Mateusz Pusz
|
02ea4825e8
|
docs: Compilation warnings handling refactored
|
2021-02-17 15:45:30 +01:00 |
|
Johel Ernesto Guerrero Peña
|
00d182e133
|
fix: operators to behave like the underlying type's
|
2021-02-16 19:25:13 +01:00 |
|
Mateusz Pusz
|
ada3c60ee9
|
refactor: QuantityLike concept improved
|
2021-02-16 19:18:14 +01:00 |
|
Mateusz Pusz
|
79025fff3d
|
fix: Implicit conversion in a downcast_result fixed
|
2021-02-15 20:08:17 +01:00 |
|
Johel Ernesto Guerrero Peña
|
6bf09aa646
|
feat: quantity_kind and quantity_point_kind
|
2021-02-15 19:31:08 +01:00 |
|
Johel Ernesto Guerrero Peña
|
a168f49b66
|
fix: lack of compound assignment from dimensionless<one>
|
2021-02-15 17:07:55 +01:00 |
|
Mateusz Pusz
|
8f04bd9cfe
|
build: mp::units CMake target was a bad idea -> mp-units::mp-units is back
|
2021-02-15 17:06:09 +01:00 |
|
Mateusz Pusz
|
4d965d7f47
|
fix: 💥 dim_torque now properly divides by an angle (instead of multiply) + default unit name change
Resolves #220
|
2021-02-15 15:01:56 +01:00 |
|
Johel Ernesto Guerrero Peña
|
efeacca9ee
|
fix: restore user-warnings within the library implementation
|
2021-02-06 21:20:31 +01:00 |
|
Johel Ernesto Guerrero Peña
|
98c15a2356
|
fix: quantity_cast between different, equivalent dimensions
|
2021-01-18 21:27:16 +01:00 |
|
Mateusz Pusz
|
ba37c37abd
|
fix: MSVC compilation fixed
|
2021-01-06 19:06:09 +01:00 |
|
Mateusz Pusz
|
f4ff02f8e5
|
fix: quantity's compound operators fixed to behave like ints do
|
2021-01-06 16:44:32 +01:00 |
|
Mateusz Pusz
|
76437a7752
|
fix: unit_tests.cpp compilation fixed for MSVC
|
2021-01-04 13:55:27 +01:00 |
|
Mateusz Pusz
|
6539b492a3
|
fix: std::chrono::duration support fixed
Resolves #198
|
2021-01-04 13:05:26 +01:00 |
|
Mateusz Pusz
|
e9db800193
|
test: Got rid of <> for min_expl
|
2021-01-04 12:37:06 +01:00 |
|
Mateusz Pusz
|
2b5777be72
|
test: Tests for no conversion from a dimensionless quantity added
|
2021-01-04 12:36:30 +01:00 |
|
Mateusz Pusz
|
eea770a2e1
|
test: #if COMP_GCC >= 10 removed
Resolves #197
|
2021-01-04 09:45:10 +01:00 |
|
Mateusz Pusz
|
6d7cda949e
|
fix: quantity_cast now correctly casts to an alias_unit
|
2021-01-02 10:56:50 +01:00 |
|
Christoph Seitz
|
c429bb6d3f
|
Add symbolrate as alias unit for frequency.
|
2021-01-01 21:52:37 +01:00 |
|
Christoph Seitz
|
d568cfa1b3
|
Add SI prefix to bit unit.
|
2021-01-01 17:31:52 +01:00 |
|