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
Johel Ernesto Guerrero Peña
9a520edfe9
refactor!: replace one_rep with reference<D, U>
2021-03-18 22:37:25 +01:00
Mateusz Pusz
37473eb8ad
refactor: core-io and core-fmt separate modules added
2021-03-17 13:46:28 +01:00
Mateusz Pusz
221883bb25
build: core library and each system separated to dedicated CMake targets
...
Refers to #249
2021-03-16 23:05:45 +01:00
Mateusz Pusz
bbbb77286c
refactor: physical replaced with isq
...
Refers to #249
2021-03-16 12:03:25 +01:00
Mateusz Pusz
23720d055e
refactor: Refactored the library file tree
...
Resolves #249
2021-03-16 09:32:28 +01:00
Mateusz Pusz
625f452daa
build: libc++ support added
2021-03-15 21:11:26 +01:00
Mateusz Pusz
069712b222
fix: ✨ Visual Studio caught up with terse form of constraints
2021-03-12 23:06:11 +01:00
Mateusz Pusz
0d3740cc87
refactor: earth_radius moved to cpp file
2021-02-26 14:25:01 +01:00
Mateusz Pusz
cdba0cdbc4
refactor: glide_computer refactored and extended with geographical coordinates
2021-02-26 14:10:36 +01:00
Yves Delley
e5462c1b65
fixed sign-conversion warning in doubtful conversion between std::clock_t and std::time_t
2021-02-23 14:33:37 +01:00
Johel Ernesto Guerrero Peña
017183653d
feat: full-on dimensional analysis between related quantity kinds
2021-02-21 00:17:03 +01:00
Mateusz Pusz
8476517185
refactor: box_example modernized
2021-02-16 16:21:05 +01:00
Johel Ernesto Guerrero Peña
6bf09aa646
feat: quantity_kind and quantity_point_kind
2021-02-15 19:31:08 +01:00
Mateusz Pusz
8f04bd9cfe
build: mp::units CMake target was a bad idea -> mp-units::mp-units is back
2021-02-15 17:06:09 +01:00
Mateusz Pusz
4d965d7f47
fix: 💥 dim_torque now properly divides by an angle (instead of multiply) + default unit name change
...
Resolves #220
2021-02-15 15:01:56 +01:00
Mateusz Pusz
dd2079055d
feat: hello_units example updated with the latest changes
2020-12-29 11:46:27 +01:00
Mateusz Pusz
cff718301c
refactor: quantity_io added
2020-12-28 15:18:36 +01:00
Mateusz Pusz
d3f20e22a3
build: Linear Algebra temporarily removed from MSVC build
2020-12-22 15:31:02 +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
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