497 Commits

Author SHA1 Message Date
Mike Ford 0f8e4cea3f added some more lengths to fps system 2020-06-25 17:12:31 +02:00
Mateusz Pusz f55eacfa85 glide_computer example added 2020-06-21 10:37:45 +02:00
Mateusz Pusz 71c4bc2761 Small quantity_point refactoring 2020-06-19 19:37:52 +02:00
Mateusz Pusz 0c0d097586 C++20 comparison operators refactored 2020-06-19 19:37:18 +02:00
Johel Ernesto Guerrero Peña dcbadfe285 fix: commented out requirement 2020-06-17 15:31:22 +02:00
Johel Ernesto Guerrero Peña d6d17c6c6e refactor: nodiscard to type level 2020-06-17 15:31:22 +02:00
Johel Ernesto Guerrero Peña ef316a3dba revert: default-initializing with zero()
Refs: 636358f
2020-06-17 15:31:22 +02:00
Johel Ernesto Guerrero Peña fb88a441c9 fix(gcc9): wrong use of Concepts TS terse syntax 2020-06-17 15:31:22 +02:00
Johel Ernesto Guerrero Peña 5f21106a02 refactor: deduction guide to be unconstrained 2020-06-17 15:31:22 +02:00
Johel Ernesto Guerrero Peña 9e001b4b48 refactor: non-member operators to use terse syntax 2020-06-17 15:31:22 +02:00
Johel Ernesto Guerrero Peña ead398f812 fix: default-initialize with zero() 2020-06-17 15:31:22 +02:00
Johel Ernesto Guerrero Peña 764176dcad fix(gcc9): comparisons 2020-06-17 15:31:22 +02:00
Johel Ernesto Guerrero Peña 628ccde5f0 fix: use trailing requires clause 2020-06-17 15:31:22 +02:00
Johel Ernesto Guerrero Peña 75119eef3f feat: quantity_point 2020-06-17 15:31:22 +02:00
Mike Ford 1cf58f3796 added to fps length, mass, force and pressure 2020-06-17 14:56:32 +02:00
Mateusz Pusz fb3ab79401 Missing constraints added for prefixed_alias_unit 2020-06-16 19:15:40 +02:00
Mateusz Pusz 169e73e61b named_deduced_derived_unit renamed to named_deduced_unit 2020-06-16 19:15:09 +02:00
Mateusz Pusz 4a46f44618 Merge branch 'master' of github.com:mpusz/units 2020-06-16 17:12:57 +02:00
Mike Ford c97a438807 playing with named derived units to allow knots to be deduced from
nautical miles & hours but be called knot instead of mi(naut) / h
2020-06-16 15:14:46 +02:00
Mike Ford aa84dcb9ef added example and some more units to fps system 2020-06-16 15:14:46 +02:00
Mike Ford 5b9203d9d6 Added the "named_deduced_unit" type and more units to the fps system
The named_deduced_unit type can be used as a named type for child for child
deduced units
2020-06-16 15:14:46 +02:00
Mike Ford 8230a42cb0 added some units for the foot-pound-second system and the static tests 2020-06-16 15:14:46 +02:00
Mateusz Pusz fea072aeb5 warnings.cmake refactored 2020-05-29 10:07:01 +02:00
Mateusz Pusz 10f93b5386 Compilation on gcc-9 fixed 2020-05-28 20:45:15 +02:00
Mateusz Pusz 86b9177816 Specialize common_type to satisfy comparison concepts (resolves #113) 2020-05-28 20:19:05 +02:00
Mateusz Pusz a9627c60cd math.h function signatures refactored to use Quantity concept (thanks kwikius!) 2020-05-28 19:20:12 +02:00
Mateusz Pusz 77a94b6d73 Ccompilation error fixed on gcc-9 2020-05-28 13:37:20 +02:00
Ramzi Sabra caeae68326 removed redundant explicit keyword from default constructors 2020-05-28 11:25:15 +02:00
Ramzi Sabra 341b17e99a passed rep by reference; added constraints for rep 2020-05-28 11:25:15 +02:00
Ramzi Sabra 2f67372e17 refactored random distribution number wrapper and test 2020-05-28 11:25:15 +02:00
Ramzi Sabra 1ce7949cf5 added STL random number distributions wrappers 2020-05-28 11:25:15 +02:00
Mateusz Pusz 5dd9eaac87 Redundant constraints removed (resolves #109) 2020-05-24 22:49:53 +02:00
Andy Little 031da7df42 si angle header : fix wrong literal return type so now returns an angle rather than a length! 2020-05-21 11:05:39 +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
Mateusz Pusz 6f48085ea3 Development switched to 0.6.0 2020-05-17 11:47:01 +02:00
Mateusz Pusz 61fadb8ebc dim_velocity renamed to dim_speed 2020-05-14 16:00:38 +02:00
Mateusz Pusz bbd337ba35 base_dimension documentation updated 2020-05-14 13:55:34 +02:00
Mateusz Pusz e58c8054bc Doxygen documentation added 2020-05-13 15:33:29 +02:00
Mateusz Pusz cf7dab42c3 doxygen link resolution failure fixed 2020-05-11 12:38:50 +02:00
Mateusz Pusz 09e24114b0 Missing headers added to si.h 2020-05-10 22:40:28 +02:00
Mateusz Pusz ce301748dd Velocity renamed to Speed (resolves #103) 2020-05-10 17:31:47 +02:00
Mateusz Pusz 3b22826a79 Merge branch 'master' of github.com:mpusz/units 2020-05-09 13:12:39 +02:00
Johel Ernesto Guerrero Peña 598a617634 Fix minimum required CMake version 2020-05-09 09:49:20 +02:00
Mateusz Pusz e5b7487066 PT replaced with PF for PrefixFamily 2020-05-09 09:22:16 +02:00
Mateusz Pusz 56d0b6d4a2 Typo fixed 2020-05-08 22:57:21 +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 771a9a1551 Documentation for alias_unit added 2020-05-08 21:19:33 +02:00
Mateusz Pusz a330f9a8f9 Constraints for prefixed_alias_unit added 2020-05-08 21:17:35 +02:00
Mateusz Pusz 31e76f03c1 prefix_family in prefixed_alias_unit fixed 2020-05-08 21:16:50 +02:00
Mateusz Pusz 68405ef7f6 Errors in CMake generator expressions fixed 2020-05-08 17:50:28 +02:00