Mateusz Pusz
9953acb2ab
Missing concept added to type_list
2019-09-15 17:33:46 -06:00
Mateusz Pusz
022783df74
Extra typename usage removed from ratio.h
2019-09-13 08:52:22 +02:00
Mateusz Pusz
bebaa5482c
QuantityOf concept added
2019-09-10 22:33:54 +02:00
Mateusz Pusz
bce17a8476
Fractional dimension exponents support added
2019-09-10 21:20:32 +02: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
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
eb5ff0bf99
cmcstl2 library updated to 2019.08.07
2019-08-08 13:49:51 +02:00
Mateusz Pusz
1d94eb93e8
dimension_ prefix removed from names of derived dimensions
2019-08-06 19:56:09 +02:00
Mateusz Pusz
7d70e6b1ce
Predefined dimensions moved to a dedicated directory
2019-08-06 10:44:25 +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
9c979fc03a
Missing op*() added
2019-08-05 18:22:53 +02:00
Mateusz Pusz
b0c4a6c2a8
meter renamed to metre
2019-08-02 17:04:55 +02:00
Mateusz Pusz
ce53df71fc
Added a few more derived dimensions
2019-07-24 16:55:21 +02:00
Mateusz Pusz
41fdfeeea9
Version updated to 0.3.0
2019-07-24 13:27:46 +02:00
Mateusz Pusz
9e74613a4a
Leading underscore prefix removed from UDLs
2019-07-24 12:20:06 +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
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
9c0f2c6878
Custom ratio type implemented
2019-05-28 16:17:48 +02:00
Mateusz Pusz
7bcc5c7b0b
common_ratio refactored
2019-05-28 15:01:50 +02:00
Mateusz Pusz
c43871578e
type_list refactored
2019-05-28 14:35:25 +02:00
Mateusz Pusz
9d5e46cd53
Custom type_traits header added
2019-05-28 14:33:57 +02:00
Mateusz Pusz
4282bd0cc7
Project version updated to 0.2.0
2019-05-18 13:22:49 +02:00
Mateusz Pusz
82263d8562
Hacked std::type_identity removed
2019-05-18 13:20:21 +02:00
Mateusz Pusz
4b6a7ebb39
Down with typename
2019-05-18 13:19:23 +02:00
Mateusz Pusz
d75377ccaf
std::decay_t replaced with std::remove_cvref_t
2019-05-18 13:19:23 +02:00
Mateusz Pusz
348dc236bd
0.1.0 released for gcc-8
2019-05-18 13:01:09 +02:00
Mateusz Pusz
c30673fb7e
Compiler version specific configuration support added
2019-05-18 12:59:08 +02:00
Mateusz Pusz
a63b5ab111
std::ratio<1> set as a default for unit
2019-05-09 19:54:18 -06:00
Mateusz Pusz
1bbbd02f1c
Concepts workaround added to operator/()
2019-05-08 20:43:52 -06:00
Mateusz Pusz
85ab642fc4
Scalar concept added
2019-05-08 19:56:24 -06:00
Mateusz Pusz
7b186e31cc
Minor file formatting
2019-05-08 09:06:20 -06:00
Mateusz Pusz
e9d1ae2719
Concepts-related hacks added to import them to std namespace
2019-05-08 09:05:31 -06:00
Mateusz Pusz
cf2370b8fe
Limited number of places where common_type is being used on quantities
...
For some specific mathematical types different type might be returned from division, mulitplication, substraction, etc.
std::common_type<> does not have an information which operation is being performed. It is much better to just get
the actual result of specific operation.
2019-05-07 21:03:58 -06:00
Mateusz Pusz
cdf9f929c3
Refactoring part of quantity interface (similar changes applied to the rest of functions make gcc crash)
2019-05-07 17:39:21 -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
0d68efdcd7
quantity_cast fixed
2019-04-16 10:38:16 +02:00
Mateusz Pusz
ed964292c7
quantity_cast() made constexpr
2019-04-16 10:36:07 +02:00
Mateusz Pusz
0adb50ab0e
merge_dimension_t helper template arguments fixed
2019-04-15 18:24:29 +02:00
Mateusz Pusz
adcd1e2f1b
one() added to quantity_values and quantity
2019-04-11 20:54:27 +01:00
Mateusz Pusz
f995f5ce60
Prefixes support added
2019-04-11 18:57:29 +01:00
Mateusz Pusz
a49ef2d055
Area support added
2019-04-11 13:36:54 +01:00
Mateusz Pusz
709e1190af
derived_unit helper added
2019-04-11 13:36:06 +01:00