Commit Graph
29 Commits
Author SHA1 Message Date
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 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 dfba6e8f85 Unit check for positive ratio improved 2019-09-09 23:02:07 +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 33b6fa9f3f Concepts removed from unit related utilities to increase compile-times 2019-08-08 22:31:22 +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 25a470dcb7 std::conditional_t replaced with custom implementation 2019-05-28 16:21:28 +02:00
Mateusz Pusz 9c0f2c6878 Custom ratio type implemented 2019-05-28 16:17:48 +02:00
Mateusz Pusz 4b6a7ebb39 Down with typename 2019-05-18 13:19:23 +02:00
Mateusz Pusz a63b5ab111 std::ratio<1> set as a default for unit 2019-05-09 19:54:18 -06:00
Mateusz Pusz 0e36a6025f tools.h spread to multiple files 2019-05-07 08:25:18 -06:00
Mateusz Pusz f995f5ce60 Prefixes support added 2019-04-11 18:57:29 +01:00
Mateusz Pusz 709e1190af derived_unit helper added 2019-04-11 13:36:06 +01: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 ee7518d0a1 dimension_traits and unit_traits merged as upcasting_traits 2018-11-17 12:39:45 +01:00
Mateusz Pusz 45f7b4f19f static_assert replaced with a concept constraint in unit 2018-11-17 12:38:45 +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 e866985668 Strong units support added 2018-11-14 22:36:02 +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