Johel Ernesto Guerrero Peña
8312b6e463
fix: factor out requires-expression to concept for MSVC
2021-06-30 12:26:56 +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
Ralph J. Steinhagen
7ed29807a6
removed superfluous requires statement in is_quantity<T>
2021-06-29 20:31:06 +02:00
Ralph J. Steinhagen
8e1539bf22
added inheritance unit-test and made is_quantity<T> more specific
2021-06-29 20:31:06 +02:00
Mateusz Pusz
95ac869522
extended is_quantity<T> to support quantity-derived classes
...
N.B. inheritance is preferred to composition/delegate class to avoid duplication and also inherent the various required operators ('+','-',..., '+=', ...) for details see discussion #271
2021-06-29 20:31:06 +02:00
Mateusz Pusz
ae752da50e
build: linear_algebra updated to 0.7.1
2021-06-29 19:20:10 +02:00
Mateusz Pusz
b35b0bb61a
docs: Doxygen updated to 1.9.1
2021-06-25 08:44:53 +02:00
Mateusz Pusz
6af61af935
Merge branch 'master' of github.com:mpusz/units
2021-06-08 18:00:57 +02:00
Mateusz Pusz
991bb2b6eb
build: PROJECT_SOURCE_DIR explicitly set as the CCACHE_BASEDIR
2021-06-08 18:00:53 +02:00
Mateusz Pusz
6593413081
build: CCACHE_BASEDIR is no longer set by default
2021-06-08 17:58:49 +02:00
Mateusz Pusz
4a9425d670
build: Replace file(REAL_PATH ...) with an alternative working with an older CMake versions
...
Resolves #282
2021-06-06 18:56:46 +02:00
Mateusz Pusz
43825a531f
chore: project version moved to 0.8.0
2021-05-11 23:07:03 +02:00
Mateusz Pusz
e0009bdb0d
docs: mp-units 0.7.0 is here :-)
v0.7.0
2021-05-11 20:46:57 +02:00
Mateusz Pusz
ae7aca5fa0
test: uncommented some already supported cases
...
Resolves #206
2021-05-11 20:12:46 +02:00
Mateusz Pusz
0174572645
refactor: merged op% of quantity_kind into one
...
Relates to #221
2021-05-11 19:40:58 +02:00
Mateusz Pusz
c95e20c7ea
refactor: quantity_kind constructors merged into one
...
Relates to #221
2021-05-11 19:39:50 +02:00
Mateusz Pusz
b00cff8ec8
refactor: quantity_point construction now relays only on a construction of a quantity_type
...
Relates to #221
2021-05-11 19:38:14 +02:00
Mateusz Pusz
8540389530
fix: op% fixed for the same argument types case
2021-05-11 19:36:07 +02:00
Mateusz Pusz
6e42cabc64
feat: a support to define ISQ derived dimensions in terms of different number or order of components
2021-05-11 15:31:46 +02:00
Mateusz Pusz
1783d243da
fix: quantity modulo arithmetics fixed
...
Resolves #231
2021-05-11 15:03:04 +02:00
Mateusz Pusz
68203b6a9f
test: additional tests for FPS unit text symbols added
2021-05-10 18:11:53 +02:00
Mateusz Pusz
b894ee6558
refactor: 💥 got rid of a noble_derived_unit
...
Resolves #280
2021-05-10 18:03:47 +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
8e88f06380
refactor: *deduced_unit renamed to *derived_unit
2021-05-10 15:56:48 +02:00
Mateusz Pusz
6c6e7955b6
chore: .gitignore updated to ignore auto-generated docs
2021-05-10 15:51:17 +02:00
Mateusz Pusz
c028f606c8
docs: "Install" chapter added to Usage
2021-05-09 19:30:27 +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
c1cf800bd1
build: PROGRAM, QUIET, and REQUIRED options added for enable_iwyu()
2021-05-09 14:43:32 +02:00
Mateusz Pusz
cb5371dec9
build: enable_ccache() refactored
2021-05-09 13:56:19 +02:00
Mateusz Pusz
a739c10427
ci: ccache max cache size limited to 50MB
2021-05-08 19:54:19 +02:00
Mateusz Pusz
2bb305eef6
ci: downcast_mode added to the cache key for ccache
2021-05-08 19:53:01 +02:00
Mateusz Pusz
c8d7138ad7
ci: os and lib added as cache keys for ccache action
2021-05-08 19:10:59 +02:00
Mateusz Pusz
0513d4f74b
ci: ccache-action added to ci-conan
2021-05-08 18:45:41 +02:00
Mateusz Pusz
7b0730cf17
build: ccache support added
2021-05-08 18:28:49 +02:00
Mateusz Pusz
f4a8a1358e
build: iwyu CMake script refactored
2021-05-07 20:46:40 +02:00
Mateusz Pusz
2e4b9483fa
build: modern_project_structure.cmake added
2021-05-07 20:45:24 +02:00
Mateusz Pusz
a60e951cd0
docs: Broken links to examples source code fixed
2021-05-04 14:36:49 +02:00
Mateusz Pusz
03c33a86a6
docs:
2021-05-04 13:07:34 +02:00
Mateusz Pusz
9f2a62accf
build: linear_algebra Conan recipe reference fixed
2021-05-04 13:06:52 +02:00
Mateusz Pusz
c2cae80914
build: 💥 Linear Algebra is now hosted on its [Artifactory]( https://api.bintray.com/conan/twonington/public-conan )
2021-05-04 10:56:31 +02:00
Mateusz Pusz
70a9e475d0
build: LA bintray address disabled due to it being EOL
2021-05-03 19:55:00 +02:00
Mateusz Pusz
6d39459cbc
perf: rvalue references support added for constructors and getters
...
Resolves #275
2021-05-03 19:44:50 +02:00
Mateusz Pusz
ab66455fb1
fix: haversine formula fixed
...
Resolves #276
2021-05-02 13:03:14 +02:00
Mateusz Pusz
9d4ea8a8bf
ci: test_package configure and build moved to one step
2021-04-29 20:57:36 +02:00
Mateusz Pusz
4be96e76a0
ci: calling conanvcvars.bat fixed
2021-04-29 20:14:01 +02:00
Mateusz Pusz
f6db4435e6
ci: cmd shell set for MSVC
2021-04-29 17:17:33 +02:00
Mateusz Pusz
c45b68232a
ci: working directory set for "Configure test_package CMake" step
2021-04-29 17:07:24 +02:00
Mateusz Pusz
25483cc29f
ci: set default shell for MSVC to be able to run conanvcvars.bat
2021-04-29 14:39:47 +02:00
Mateusz Pusz
d4b49b5edb
ci: calling conanvcvars.bat fixed
2021-04-29 14:16:20 +02:00
Mateusz Pusz
228bd709b1
Revert "ci: VISUAL renamed to MSVC"
...
This reverts commit f4ccb9c7fc .
2021-04-29 14:15:27 +02:00