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
cfc90f4aac
refactor: 💥 basic_concepts, quantity and quantity_cast refactored
...
BREAKING CHANGE: ScalableNumber renamed to QuantityValue
Resolves #107
2020-10-06 18:17:52 +02:00
Mateusz Pusz
d4d23847d8
refactor: DOWNCAST_MODE renamed to UNITS_DOWNCAST_MODE
2020-09-13 18:45:46 +02:00
Mateusz Pusz
6e510b3a2a
refactor: modules-like behavior for systems removed to improve broken compile-time
...
Reffers to #32
2020-09-13 00:11:02 +02:00
Mateusz Pusz
accd113ad2
fix: got rid of terse syntax to make it work under MSVC
2020-09-12 21:22:23 +02:00
Mateusz Pusz
f4747a4d7d
refactor: ♻️ more file system related cleanup (mostly physical dimensions definitions)
...
BREAKING_CHANGE: current, substance, temperature renamed to proper names
2020-09-11 21:16:26 +02:00
Mateusz Pusz
2a56438f1c
refactor: file tree with systems defninitions refactored to limit ODR issues
...
Relates to #32 as with this commit we created something like modules for derived quantities
2020-09-11 18:11:25 +02:00
Mateusz Pusz
a0beeb48b1
feat: custom systems examples added
2020-09-10 21:17:43 +02:00
Mateusz Pusz
79558a6d72
refactor: systems defined in terms of SI moved under si namespace
2020-09-10 17:14:33 +02:00
Mateusz Pusz
9cd0cb4105
feat: two argument explicit cast support added
2020-09-10 13:01:38 +02:00
Mateusz Pusz
e367afed71
Merge branch 'downcasting_2.0'
2020-09-09 20:31:03 +02:00
Mateusz Pusz
9527b39005
refactor: 💥 q_* UDL renamed to _q_*
...
We had some fun exploring the STD UDLs for potential collisions,
we have learnt our lesson and know how to proceed.
Now is high time to start behaving and obeying C++ rules.
2020-09-09 19:20:35 +02:00
Mateusz Pusz
9a49df7222
refactor: 💥 Scalar concept renamed to ScalableNumber
...
Resolves #114
2020-09-08 21:17:09 +02:00
Mateusz Pusz
4bb51586dc
refactor: got rid of gcc-9 backlog
...
BREAKING CHANGE: gcc-9.3 no longer supported
2020-09-08 13:09:34 +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
65286b7a81
Small refactoring of LA example
2020-09-06 18:10:52 +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
5c98924efb
Downcasting reworked to allow OFF and AUTO modes
2020-08-19 13:37:57 +02:00
Mateusz Pusz
997d5f22f1
glide_computer example documentation updated
2020-06-22 21:35:24 +02:00
Mateusz Pusz
b4121707df
length_3d added in glide_computer
2020-06-22 19:41:34 +02:00
Mateusz Pusz
7445a2bcf1
glide_computer code cleanup
2020-06-22 16:23:18 +02:00
Mateusz Pusz
f55eacfa85
glide_computer example added
2020-06-21 10:37:45 +02:00
Mike Ford
d4d5ad243c
minor fix in fps example
2020-06-17 14:56:32 +02:00
Mateusz Pusz
a3a12229d9
foot_pound_second example slightly refactored
2020-06-16 17:44:32 +02:00
Mateusz Pusz
4a46f44618
Merge branch 'master' of github.com:mpusz/units
2020-06-16 17:12:57 +02:00
Mike Ford
aa84dcb9ef
added example and some more units to fps system
2020-06-16 15:14:46 +02:00
Mateusz Pusz
fea072aeb5
warnings.cmake refactored
2020-05-29 10:07:01 +02:00
Mateusz Pusz
b65a5bf6b2
quantity_of_matrix_tests uncommented thanks to a fix in the LA library
2020-05-20 22:12:37 +02:00
Mateusz Pusz
735eb3354e
experimental_angle example compilation fixed on gcc-10
2020-05-20 22:12:03 +02:00
Andy Little
f281e417e2
Experimental branch using angle as a dimension.
...
Added dim_angle, Angle concept etc.
Not really for merging, but fun to play with.(The main problem is that it doesnt conform to SI)
See https://github.com/mpusz/units/issues/99
Could try adding degrees etc in same way as non-si units
2020-05-20 21:34:04 +02:00
Andy Little
51f3739e46
example linear_algebra : change deduced type of iterator index to unsigned type
2020-05-20 21:34:04 +02:00
Mateusz Pusz
80d67163c8
linear_algebra updated to 0.7.0/testing
2020-05-17 12:04:57 +02:00
Mateusz Pusz
bd7c421e32
linear_algebra switched to 0.6.0/stable
2020-05-17 11:02:25 +02:00
Mateusz Pusz
c6627ed20f
Compilation errors in LA example fixed
2020-05-10 22:40:54 +02:00
Mateusz Pusz
ce301748dd
Velocity renamed to Speed ( resolves #103 )
2020-05-10 17:31:47 +02:00
Mateusz Pusz
7e935a4108
Physical units put in the physical namespace (I am sorry)
2020-05-08 22:39:24 +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
Ramzi Sabra
f6d9a1cbda
removed c_str(), size(), operator<< abstractions from basic_symbol_text
2020-03-27 10:03:59 +01:00
Mateusz Pusz
36055208d1
Linear Algebra chapter added
2020-03-26 18:26:27 +01:00
Mateusz Pusz
4637985b7a
Quantity of matrix tests added
...
But commented out due to complier segfault.
2020-03-26 16:36:48 +01:00
Mateusz Pusz
73a2b30d65
Quantity of vector tests added
2020-03-25 22:40:59 +01:00
Mateusz Pusz
c2b851c92b
Linear algebra example updated
2020-03-25 17:27:45 +01:00
Mateusz Pusz
52e7f57c69
Measurement example updated
2020-03-25 16:30:08 +01:00
Mateusz Pusz
9afcf9e695
Linear Algebra support added
2020-03-25 15:57:53 +01:00
Andy Little
6b7e5893d2
examples, alternative namespaces : Part2 of put alternative namespace definitions in local headers.
...
examples, clcpp_response,alternative_namespaces::clcpp_response : use fmt functions for showing precision of quantities
examples, alternative namespaces : combined the alternative namespace quantity typedefs in header files.
examples, alternative namespaces : add simple timer example
2020-03-21 18:23:05 +01:00
Mateusz Pusz
45888ac44e
Physical constants support redesigned
2020-03-17 17:13:18 +01:00