Mateusz Pusz
ed1b2d2647
fix: Some MSVC-specific special cases removed
2021-09-23 19:16:44 +02:00
Mateusz Pusz
b1bd4cab2d
feat: std::format support for compliant compilers added
2021-09-20 15:01:58 +02:00
Mateusz Pusz
0a4f99259d
Merge branch 'master' of https://github.com/mpusz/units
2021-09-17 13:56:30 +02:00
Mateusz Pusz
daa00c2f08
build: linear_algebra examples disabled for gcc-11.1.0 due to ICE
2021-09-17 13:56:27 +02:00
Mateusz Pusz
3a997e5314
fix: explicit fmt usage added
2021-09-17 09:48:33 +02:00
Mateusz Pusz
8740857a47
build: fmt updated to 8.0.1
2021-09-16 20:24:27 +02:00
Mateusz Pusz
1ebf72e041
build: linear algebra switched to wg21-linear_algebra/0.7.2
2021-09-09 09:13:10 +02:00
Mateusz Pusz
e6cfd4e69b
build: clang-13 support added
2021-08-10 13:54:39 +02:00
Johel Ernesto Guerrero Peña
80eefec97c
fix: add quantity_point::origin, like std::chrono::time_point::clock
2021-06-29 20:44:27 +02:00
Mateusz Pusz
7ead50acfc
refactor: derived_kind template parameters reordered to be compatible with a derived_unit
...
Resolves #229
2021-05-10 16:45:38 +02:00
Mateusz Pusz
2c8c6c2e98
refactor: quantity cration helpers are not opt-out rather than opt-in
...
Resolves #277
2021-05-09 15:52:20 +02:00
Mateusz Pusz
ab66455fb1
fix: haversine formula fixed
...
Resolves #276
2021-05-02 13:03:14 +02:00
Mateusz Pusz
7512e29137
fix: Windows build fixed
2021-04-16 14:55:42 +02:00
Mateusz Pusz
554323d3a6
refactor: conversions part of the custom_systems refactored to be more explicit
2021-04-16 14:41:05 +02:00
Mateusz Pusz
340e62f833
refactor: IWYU
2021-04-16 13:59:41 +02:00
Mateusz Pusz
3c56375e85
refactor: Example updated to benefit from USCS system
2021-04-16 13:01:12 +02:00
Mateusz Pusz
46e1e5e932
refactor: US system renamed to USCS
2021-04-16 12:40:52 +02:00
Mateusz Pusz
70bff31d06
feat: quantity aliases support addded
2021-04-15 19:13:25 +02:00
Mateusz Pusz
813197021f
refactor: measurement example moved to a root examples directory
2021-04-15 14:05:36 +02:00
Mateusz Pusz
cee27390e6
feat: Formatting support for Kalman related types added
2021-04-14 20:22:20 +02:00
Mateusz Pusz
90af542308
fix: MSVC build fixed
2021-04-13 20:35:11 +02:00
Mateusz Pusz
2d7c3612cd
refactor: IWYU
2021-04-13 19:29:35 +02:00
Mateusz Pusz
d2a7df6540
fix: clang compilation fixed
2021-04-13 19:28:53 +02:00
Mateusz Pusz
97245a8c96
feat: Kalman Filter tutorials 1-8 added
2021-04-13 18:16:11 +02:00
Mateusz Pusz
c545328be7
docs: Added the comment about the reason of ignoring diagnostics in experimental_angle
2021-04-08 12:41:23 +02:00
Mateusz Pusz
9c8deb6187
refactor: capacitor_time_curve refactored for references
2021-04-07 19:09:00 +02:00
Mateusz Pusz
e5af317a0a
refactor: avg_speed example refactored to better use literals
2021-04-07 19:07:55 +02:00
Mateusz Pusz
8ca2b25349
fix: torque literal fixed + experimental_angle example refactored
2021-04-07 19:07:25 +02:00
Mateusz Pusz
dddc7572aa
refactor: conversion_factor example moved to the main examples directory
2021-04-07 19:05:02 +02:00
Mateusz Pusz
fdc31e7cde
refactor: example applications refactored to benefit more from references
2021-04-07 13:56:20 +02:00
Mateusz Pusz
40de14b9b7
refactor: common part of glide_computer moved to a directory
2021-04-07 12:36:39 +02:00
Mateusz Pusz
cf14032dce
refactor: custom_systems example moved to the parent directory
2021-04-07 11:54:35 +02:00
Mateusz Pusz
bd862d3517
refactor: Fine-grained references support added
2021-04-07 11:26:45 +02:00
Mateusz Pusz
afa67c5f43
refactor: IWYU
2021-04-06 22:21:45 +02:00
Mateusz Pusz
1f80c57fad
refactor: hello_units fixed to provide literals and references preprocessor defines explicitly
2021-04-06 16:36:52 +02:00
Mateusz Pusz
b982921d27
refactor: References are now guarded UNITS_REFERENCES with (ON by default) + examples duplicated to subdirectories
...
Now References can be disabled to meassure a compile time impact. Also the same examples are now provided in two subdirectories to be able to easily compare the pros and cons of every quantity construction technique.
2021-04-06 15:57:28 +02:00
Mateusz Pusz
c3659dbb47
refactor: UNITS_UDLS renamed to UNITS_LITERALS
...
Also now the existence of the preprocessor flag is enough to trigger the feature (`#ifdef` instead of `#if`)
2021-04-06 13:33:27 +02:00
Mateusz Pusz
b50df22901
refactor: IWYU
2021-04-02 19:31:58 +02:00
Mateusz Pusz
e1d8d6b81d
fix: Fixed shadowing warnings on clang
2021-04-02 19:31:36 +02:00
Mateusz Pusz
1a5b4fc85e
refactor: UDLs support switched off by default
2021-04-02 18:56:28 +02:00
Mateusz Pusz
309da80c32
refactor: unit_text.h header include moved to text-related targets
2021-03-31 12:25:26 +02:00
Mateusz Pusz
441db47928
fix: MSVC Release build fixed + pragmas usage refactored
2021-03-30 20:00:23 +02:00
Mateusz Pusz
8a26eaf420
fix: VS build fixed
2021-03-30 14:47:05 +02:00
Mateusz Pusz
a7cd8d5131
build: Local directory added to include dirs for glide_computer
2021-03-30 14:01:58 +02:00
Mateusz Pusz
06c1cbde06
fix: glide_computer_example.cpp compilation fixed
2021-03-30 14:01:19 +02:00
Mateusz Pusz
37cfc53d1d
refactor: IWYU applied to the source files
...
`alternative_namespaces` examples left out as I consider them a subject for removal in the nearest future.
2021-03-30 13:21:05 +02:00
Mateusz Pusz
88e642ec74
refactor: QuantityValue concept renamed to Representation
2021-03-19 07:53:18 +01:00
Mateusz Pusz
901b09fd52
refactor: quantity::count() renamed to quantity::number()
...
Resolves #259
2021-03-19 06:47:37 +01:00
Johel Ernesto Guerrero Peña
0b87e7c99c
refactor!: require explicit number for references
...
Addresses:
- https://github.com/mpusz/units/pull/261#discussion_r596651065
- https://github.com/mpusz/units/pull/261#discussion_r596664550
- https://github.com/mpusz/units/pull/261#discussion_r597132294
2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña
018c5837f9
refactor: rename unit_constants to references
...
Addresses https://github.com/mpusz/units/pull/261#discussion_r596663522 .
2021-03-18 22:37:25 +01:00