Mateusz Pusz
3d081d37e6
perf: std::is_same_v replaced with units::is_same_v
2020-12-28 18:42:03 +01:00
Mateusz Pusz
a172f34684
build: Minimum CMake version required set for each file based on its contents
2020-12-21 22:56:00 +01:00
Mateusz Pusz
206712f046
build: Library renamed to mp::units
2020-12-17 23:06:37 +01:00
Mateusz Pusz
c5919d2cd8
build: Conan generator changed to provide more transparent dependency handling
2020-12-09 18:49:39 +01:00
Mateusz Pusz
7ed4f19ef3
refactor: ♻️ exp_* operations on exponents renamed to `exponent_*
2020-09-08 11:10:33 +02:00
Mateusz Pusz
563b358d5e
feat!: 💥 dimensionless quantities refactored
...
Dimensionless quantities are now represented by quantity types rather
than by plain representation types. Only dimensionless quantities with
`unitless` unit are implicitly convertible from representation types.
`units::exp()` now is a function doing std::exp() on a representation
type (previous `units::exp` class template was renamed to
`units::exponent`).
BREAKING_CHANGE: gcc-9.3 support removed
BREAKING_CHANGE: `exp` and `Exp` renamed to `exponent` and `Exponent`
Resolves #27
Resolves #42
2020-09-08 11:02:16 +02:00
Mateusz Pusz
32779e01f0
Build system refactored to be comatible with ConanCenter
2020-09-06 00:00:06 +02:00
Mateusz Pusz
b318e8d039
VS2019 support added
2020-09-04 23:06:57 +02:00
Mateusz Pusz
51b6d2f974
ms-gsl dependency added to handle Expects ( resolves #132 )
2020-08-17 20:27:45 +02:00
Mateusz Pusz
68405ef7f6
Errors in CMake generator expressions fixed
2020-05-08 17:50:28 +02:00
Mateusz Pusz
d18480879d
Linking with Conan targets only when they exists ( resolves #98 )
2020-05-08 11:56:07 +02:00
Mateusz Pusz
645570ff57
Library updated to the latest cmake common tools
2020-01-31 17:02:27 +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
952b19c2ed
bool removed from concepts definitions as gcc-9.1 supports this syntax already
2019-09-28 19:10:06 +02:00
Mateusz Pusz
c583f771a2
Todos removed from metabench files
2019-09-27 10:00:19 +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
fc2b1add84
The title of one of the metabench renamed
2019-09-15 20:04:51 -06:00
Mateusz Pusz
5413bb865b
make_dimension metabench test added
2019-09-15 17:33:20 -06:00
Mateusz Pusz
29e8278613
type_list metabench tests updated
2019-09-15 19:23:56 +02:00
Mateusz Pusz
3801152dc7
ratio metabench tests updated
2019-09-15 19:23:20 +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
98203afa29
units moved to std::experimental namespace
2019-07-24 11:58:15 +02:00
Mateusz Pusz
9c0f2c6878
Custom ratio type implemented
2019-05-28 16:17:48 +02:00
Mateusz Pusz
cec78ec8cb
type_list related tests added to metabench
2019-05-28 14:33:08 +02:00
Mateusz Pusz
c3d896e661
Input range for ratio creation changed
2019-05-28 14:31:50 +02:00
Mateusz Pusz
6780978be6
ratio_type_constexpr refactored to provide safe_multiply
2019-05-19 20:38:45 +02:00
Mateusz Pusz
7caadfcd0d
Ratio metabench tests split to individual operations
2019-05-19 17:40:05 +02:00
Mateusz Pusz
f18b00252b
Metabench chart renamed
2019-05-18 12:59:37 +02:00
Mateusz Pusz
28277c56ed
A small refactoring of a metabench cmake
2019-05-17 23:34:09 +02:00
Mateusz Pusz
7bebf6e1e0
Metabench support and tests added
2019-05-17 22:41:46 +02:00