Commit Graph
79 Commits
Author SHA1 Message Date
Mateusz Pusz 7cad312b55 fixed_string refactored 2019-12-23 13:21:48 +01:00
Mateusz Pusz bc8c31caa5 is_derived_from_instantiation fixed 2019-12-17 22:18:52 +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 8d1eb4c415 derived_dimension code split to a few smaller files 2019-12-14 12:23:47 +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 fbf3ef8c4f Most of concepts moved to a new file + quantity.h split to smaller pieces 2019-12-12 13:17:31 +01:00
Mateusz Pusz 9d50ea6ab5 CGS case added to avg_speed example 2019-12-11 21:38:44 +01:00
Mateusz Pusz 71f38222ea Implicit conversions fixed 2019-12-11 16:16:05 +01:00
Mateusz Pusz bc1901f4f0 Text formatting enabled + directory tree refactoring 2019-12-11 08:07:13 +01:00
Mateusz Pusz d465d47803 range-v3 dependency removed for gcc-10 2019-12-08 16:09:00 +01:00
Mateusz Pusz f31b26b5e5 Design cleanup
- unknown_unit added
- examples refactored
- base_type renamed to downcast_base_type
- scaled_unit renamed to named_scaled_unit
- detail::reference_unit renamed to scaled_unit
- quantity_test cleanup
2019-12-06 12:18:39 +01:00
Mateusz Pusz c48bfe2098 quantity refactored and quantity_test enabled 2019-12-04 17:46:19 +01:00
Mateusz Pusz 1b4e8a2127 Units and dimensions redesigned 2019-12-01 19:47:58 +01:00
Mateusz Pusz 9c6229302d Small code cleanup 2019-11-16 18:27:31 +01:00
Mateusz Pusz 86d4252cca Another bug in P1813 fixed 2019-11-16 18:16:03 +01:00
Mateusz Pusz 57e464cc99 quantity constraints refactored 2019-11-15 20:20:25 +01:00
Mateusz Pusz 2b5eb30cd4 P1813 compilation errors fixed 2019-11-14 10:53:32 +01:00
Mateusz Pusz daf29fe6de numeric_concepts added as in P1813R0 2019-11-14 10:52:57 +01:00
Mateusz Pusz 1b312b1102 fmt support added 2019-11-06 16:50:34 +00:00
Mateusz Pusz b5b2c54fe8 Basic std::fmt support added 2019-11-05 20:05:11 +00:00
Mateusz Pusz 91bcfedf1e Deduced units symbols refactoring started 2019-11-04 06:45:56 +00:00
Mateusz Pusz 7e844ef773 Construction from a single character added to a fixed_string 2019-11-04 06:30:22 +00:00
Mateusz Pusz 5f216af4de Missing header guard added to fixed_string header 2019-11-04 06:29:34 +00:00
Mateusz Pusz ff02658a56 fixed_string fixed 2019-11-03 11:11:16 +01:00
Mateusz Pusz ddd998cb53 type_list_sort_impl cleanup 2019-11-02 13:55:55 +01:00
Mateusz Pusz 2bde0e62b2 Downcasting facility refactoring 2019-11-02 13:54:43 +01:00
Mateusz Pusz 53720c82b8 fmt support started 2019-10-18 23:50:43 +02:00
Mateusz Pusz 046669fedc gcc compilation error disabled (looks like a bug in a compiler) 2019-10-18 21:24:16 +02:00
Mateusz Pusz b864461636 Prefixed units support redesigned 2019-10-18 15:34:46 +02:00
Mateusz Pusz 95028d10a7 gcc-10 enabled 2019-10-17 18:22:51 +02:00
Mateusz Pusz 9a9abca81d Text output support added for quantity 2019-10-16 17:04:41 +02:00
Mateusz Pusz d31d2cf439 Base dimensions refactored
-
2019-10-15 19:03:45 +02:00
Mateusz Pusz b889c81cb9 Short name added to derived unit definition 2019-10-15 11:32:59 +02:00
Mateusz Pusz 73b5c7c4ac {+a} -> T added to a Number concept 2019-09-30 08:51:45 +02:00
Mateusz Pusz 952b19c2ed bool removed from concepts definitions as gcc-9.1 supports this syntax already 2019-09-28 19:10:06 +02:00
Mateusz Pusz 2e1ce83024 Downcasting facility refactored so the user does not have to write the boilerplate code anymore 2019-09-26 22:30:57 +02:00
Mateusz Pusz 0cffcf7849 downcasting_traits renamed to downcast_traits
- downcasting_traits -> downcast_traits
- downcasting_traits_t -> downcast_traits_t
- downcast_from -> downcast_base_t
- downcast_to removed
2019-09-20 18:36:14 +02:00
Mateusz Pusz c3d7359ca3 units removed from a std::experimental namespace 2019-09-18 21:55:16 -06:00
Mateusz Pusz 929a812ec4 cmcstl2 dependency changed to range-v3 0.9.1 2019-09-18 10:29:30 -06:00
Mateusz Pusz 9953acb2ab Missing concept added to type_list 2019-09-15 17:33:46 -06:00
Mateusz Pusz 8587d5350d Expects changed to not do anything in a Release build 2019-09-10 20:23:10 +02:00
Mateusz Pusz 497a13da1a Dependency on gsl-lite removed as it causes issues with compiler-explorer 2019-09-10 20:07:48 +02:00
Mateusz Pusz 70a90b4ae0 config.h support removed as it causes issues with compiler-explorer 2019-09-10 18:59:23 +02:00
Mateusz Pusz eb5ff0bf99 cmcstl2 library updated to 2019.08.07 2019-08-08 13:49:51 +02:00
Mateusz Pusz 98203afa29 units moved to std::experimental namespace 2019-07-24 11:58:15 +02:00
Mateusz Pusz eeb4c9c951 Dimension template parameter removed from quantity 2019-07-19 13:49:49 +02:00
Mateusz Pusz 03a22cba2a upcasting renamed to downcasting 2019-07-18 23:24:24 +02:00
Mateusz Pusz 9c0f2c6878 Custom ratio type implemented 2019-05-28 16:17:48 +02:00