Commit Graph

25 Commits

Author SHA1 Message Date
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
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
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
Johel Ernesto Guerrero Peña
8d6d43b32d feat: quantity point-like support 2021-02-17 19:40:52 +01:00
Johel Ernesto Guerrero Peña
6bf09aa646 feat: quantity_kind and quantity_point_kind 2021-02-15 19:31:08 +01:00
Mateusz Pusz
6d7cda949e fix: quantity_cast now correctly casts to an alias_unit 2021-01-02 10:56:50 +01:00
Mateusz Pusz
008dec79ea refactor: si.h usage limited 2020-12-28 14:34:27 +01:00
Mateusz Pusz
c6a5d9e222 fix: broken requires expressions fixed 2020-09-23 16:38:40 +02:00
Mateusz Pusz
2a56438f1c refactor: file tree with systems defninitions refactored to limit ODR issues
Relates to #32 as with this commit we created something like modules for derived quantities
2020-09-11 18:11:25 +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
9cd0cb4105 feat: two argument explicit cast support added 2020-09-10 13:01:38 +02:00
Mateusz Pusz
58daacfd58 fix: unit tests fixed for DOWNCAST_MODE = OFF 2020-09-10 11:33:58 +02:00
Mateusz Pusz
e367afed71 Merge branch 'downcasting_2.0' 2020-09-09 20:31:03 +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
77e11173bf Unit tests compilation fixed on VS 2020-09-06 15:35:08 +02:00
Johel Ernesto Guerrero Peña
4aeb9d305a test: what we mean
a concept can fail for whatever requirement,
and maybe the "main" one actually works
(== in this case)
2020-09-06 09:55:59 +02:00
Johel Ernesto Guerrero Peña
9f9397ffc2 test: convert comments to code 2020-09-06 09:55:59 +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
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
Johel Ernesto Guerrero Peña
270485e9b6 test: remove redundancy 2020-06-17 15:31:22 +02:00
Johel Ernesto Guerrero Peña
92c6b0d132 test: exclude gcc9 for presumably failing line 2020-06-17 15:31:22 +02:00
Johel Ernesto Guerrero Peña
75119eef3f feat: quantity_point 2020-06-17 15:31:22 +02:00