Commit graph

39 commits

Author SHA1 Message Date
cc00ed83a3 xo-unit: quantity: + addition for quantities 2024-05-04 14:51:46 -04:00
cb7bd4d1f2 xo-unit: + quantity methods .is_dimensionless(), arith conversion 2024-05-04 11:37:24 -04:00
779e7e0569 xo-unit: + with_units + example 2024-05-04 10:36:03 -04:00
4ee89948d9 xo-unit: streamline with_units_from() using auto 2024-05-04 01:50:46 -04:00
c5c2f83c90 xo-unit: qty::grams() etc. infer quantity::repr_type from argument 2024-05-04 01:45:31 -04:00
00245ad378 xo-unit: retire stdquantity<> no longer streamlines quantity<> 2024-05-03 22:07:05 -04:00
b39f502c6c xo-unit: refactor: drop default value for NaturalUnit arg 2024-05-03 22:05:22 -04:00
dc9e7d2f9d xo-unit: drop default value w/ NaturalUnit arg to quantity<..> 2024-05-03 22:04:26 -04:00
821ed4f56f xo-unit: refactor: rev args to stdquantity<> for consistency 2024-05-03 22:03:41 -04:00
822d636812 xo-unit: refactor: move unit argument to first pos in quantity<> 2024-05-03 22:01:31 -04:00
e37340f6c2 xo-unit: use auto to elide a template arg to quantity 2024-05-03 21:54:11 -04:00
83424e1ee3 xo-unit: + repr argument to stdquantity 2024-05-03 21:37:22 -04:00
4263144614 xo-unit: rename scaled_unit o/load of rescale() -> rescale_ext() 2024-05-03 21:36:51 -04:00
f3e75cc634 xo-unit: stop hardwiring representation for a few qty builders 2024-05-03 21:35:53 -04:00
633c037ba3 xo-unit: + with_repr() convenience for xo::qty::quantity 2024-05-03 21:34:55 -04:00
5078cdd8de xo-unit: rename with_units -> with_units_from 2024-05-03 21:33:30 -04:00
be8e832481 xo-unit: refactor: move quantity_util into detail namespace 2024-05-03 21:32:44 -04:00
42503feb62 xo-unit: + qty::meter, qty::second 2024-05-03 18:46:36 -04:00
b028588877 xo-unit: + quantity / quantity 2024-05-03 01:43:23 -04:00
be67f55c79 xo-unit: restore constexpr quantity*quantity 2024-05-03 01:37:27 -04:00
be24d649eb xo-unit: + always_constexpr_unit flag in quantity,xquantity 2024-05-03 01:36:05 -04:00
eb63f5fdc8 xo-unit: multiply, volatility units, share operators 2024-05-01 23:04:14 -04:00
d7fa7156df xo-unit: + distance, time compile-time units 2024-04-28 21:52:37 -04:00
ab689b51df xo-unit: + quantity printing + tests for mass units 2024-04-28 19:12:40 -04:00
0f06ac6577 xo-unit: compile-time constexpr unit stalking horse [wip] 2024-04-28 16:02:23 -04:00
f8951bfc50 xo-unit: refactor: moving og quantity.hpp to mpl/ subdir 2024-04-22 15:13:40 -04:00
03717ea7e9 xo-unit: fix ratio_floor() + check args to Quantity converter 2024-04-17 20:53:54 -04:00
39ca2aa9f4 xo-unit: quantity: + compare() + operator<=> 2024-04-17 20:53:25 -04:00
3dd48ee1e7 xo-unit: bugfix: fix static asserts on operator+= operator-= 2024-04-17 20:53:01 -04:00
eea10d8fe1 xo-unit: refactor: move promoter aux class to detail/ subdir 2024-04-05 02:00:05 -04:00
0ff7b7dc11 xo-unit: quantity: check template args sat concepts 2024-04-05 01:44:19 -04:00
0c355d3e8b xo-unit: ++ doxygen decors on quantity members 2024-04-05 01:43:52 -04:00
1a7321c98f xo-unit: quantity: ++ constexpr where appropriate 2024-04-05 01:42:26 -04:00
859fdfd2c4 xo-unit: + unit_qty namespace w/ unit qty vars 2024-04-05 01:41:24 -04:00
7c7373427e xo-unit: refactor: c_basis_power<> -> basis_power<> 2024-04-03 17:24:55 -04:00
bb5fc1cb4e xo-unit: quantity: + with_unit() + with_repr() convenience 2024-04-03 17:23:56 -04:00
a785480d28 xo-unit: bugfix: quantity/quantity 2024-04-03 17:23:35 -04:00
7e61533caf xo-unit: move types: xo::obs:: -> xo::unit:: 2024-04-02 17:28:15 -04:00
3c1f8389c7 build: move unit+quantity feature from xo-observable -> xo-unit 2024-04-01 19:34:04 -04:00