Commit Graph
40 Commits
Author SHA1 Message Date
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 1a23d5b69e Invalid todo comment and depdency on std::ratio removed 2019-09-27 09:41:39 +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 6390eba786 Dimensions comparison improved 2019-09-18 21:24:40 -06:00
Mateusz Pusz 021df4a46f dimension_sqrt and dimension_pow support added 2019-09-18 15:32:22 -06:00
Mateusz Pusz 3fcb7c9e91 dim_invert and dim_consolidate cleanup 2019-09-18 06:37:30 -06:00
Mateusz Pusz 32a65a7405 Support for derived dimensions in exp added 2019-09-18 06:36:52 -06:00
Mateusz Pusz bce17a8476 Fractional dimension exponents support added 2019-09-10 21:20:32 +02:00
Mateusz Pusz 3bcd80681e base_dimension is provided as a const& to the exp type 2019-09-06 10:16:19 +02:00
Mateusz Pusz 9452cf5f3c Concepts usage removed from deduced template arguments and partial specializations 2019-08-06 10:35:43 +02:00
Mateusz Pusz 98203afa29 units moved to std::experimental namespace 2019-07-24 11:58:15 +02:00
Mateusz Pusz 03a22cba2a upcasting renamed to downcasting 2019-07-18 23:24:24 +02:00
Mateusz Pusz 7cbeb35e17 Double sorting of exponents removed 2019-07-18 10:01:42 +02:00
Mateusz Pusz 25a470dcb7 std::conditional_t replaced with custom implementation 2019-05-28 16:21:28 +02:00
Mateusz Pusz c43871578e type_list refactored 2019-05-28 14:35:25 +02:00
Mateusz Pusz 4b6a7ebb39 Down with typename 2019-05-18 13:19:23 +02:00
Mateusz Pusz e9d1ae2719 Concepts-related hacks added to import them to std namespace 2019-05-08 09:05:31 -06:00
Mateusz Pusz 2d52782407 type_list moved from mp to units namespace 2019-05-07 08:28:02 -06:00
Mateusz Pusz 0e36a6025f tools.h spread to multiple files 2019-05-07 08:25:18 -06:00
Mateusz Pusz 0adb50ab0e merge_dimension_t helper template arguments fixed 2019-04-15 18:24:29 +02:00
Mateusz Pusz d78508a02f Refactored units definitions, added the remaining SI base units, refactored header includes 2019-04-09 21:31:09 +01:00
Mateusz Pusz fe158440bb Upcasting facility refactored by adding additional alias templates 2019-04-09 16:53:34 +02:00
Mateusz Pusz 15dd7462ec upcastable renamed to upcast_base 2019-04-05 17:45:09 +02:00
Mateusz Pusz 6646051e65 Hand written concepts replaced with Casey Carter's repository 2019-04-05 17:43:42 +02:00
Mateusz Pusz 310541c9f1 upcastable class template added to provide the base class for upcastable classes 2019-03-06 18:12:59 -10:00
Mateusz Pusz 776c91cf64 Compilation issues fixed 2019-01-14 19:54:19 +01:00
Mateusz Pusz 26eb30df03 merge_dimension added 2019-01-14 19:28:51 +01:00
Mateusz Pusz ee7518d0a1 dimension_traits and unit_traits merged as upcasting_traits 2018-11-17 12:39:45 +01:00
Mateusz Pusz 467d548ae5 Additional type list sorting added to make_dimension 2018-11-17 12:37:33 +01:00
Mateusz Pusz 58e1eefd3b Inheritance hierarchy helpers for dimension and unit made more descriptive 2018-11-15 05:29:01 +01:00
Mateusz Pusz db64a3e6a1 More constraints added for Dimension and Unit concepts 2018-11-15 05:27:16 +01:00
Mateusz Pusz 7205dc2cb9 Strong dimensions support added 2018-11-14 22:14:44 +01:00
Mateusz Pusz 94fd74000c Type traits changed to variable templates 2018-11-10 17:09:11 -08:00
Mateusz Pusz 4409fa01ca Library refactoring based on Walter Brown's feedback 2018-09-29 18:08:02 -07:00
Mateusz Pusz 39bc536332 Concepts definition fixed 2018-09-28 14:18:43 -07:00
Mateusz Pusz 40ab45b506 Code cleanup 2018-09-28 10:53:21 -07:00
Mateusz Pusz 312dbf4f81 Units library moved to concepts world 2018-09-28 07:47:37 -07:00
Mateusz Pusz 4b376e3c2e Initial version 2018-08-22 12:11:19 +02:00