Commit Graph

942 Commits

Author SHA1 Message Date
Mateusz Pusz af2f988b58 test: CTAD tests for chrono fixed 2020-10-09 23:32:35 +02:00
Mateusz Pusz a2891296c2 test: duplication in chrono test fixed 2020-10-09 23:29:18 +02:00
Mateusz Pusz 803622a1be refactor: [[nodiscard]] added to quantity_like_traits for std::chrono 2020-10-09 23:24:00 +02:00
Mateusz Pusz 8b15826c65 refactor: Small cleanup after @johelegp code review 2020-10-08 08:54:30 +02:00
Mateusz Pusz d64d26a4c4 refactor: interoperability with quantity-like types simplified
Type trait specialization for each `quantity` type is not needed anymore.

Relates to #33.
2020-10-07 14:29:12 +02:00
Mateusz Pusz 2dd8c90250 feat: interoperability with std::chrono::duration and other units libraries
Resolves #33
2020-10-07 12:02:08 +02:00
Mateusz Pusz 043046c068 refactor: [[nodiscard]] added to min_expl 2020-10-06 19:50:36 +02:00
Mateusz Pusz 6accefbc16 docs: basic concepts and custom representation types documentation updated 2020-10-06 19:50:00 +02:00
Mateusz Pusz 4ff96170aa build: workaround for gcc-10.0.1 added 2020-10-06 19:21:47 +02:00
Mateusz Pusz ccbd97e3af docs: CHANGELOG updated 2020-10-06 18:32:26 +02: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 40f205b381 fix: ambiguous case for empty list resolved 2020-10-01 13:39:36 +02:00
Mateusz Pusz 920c396742 feat: value initialization for quantity value removed (left with a default initialization) 2020-09-24 16:10:07 +02:00
Mateusz Pusz ffc429a4b8 docs: basic concepts UML diagram updated with quantity point 2020-09-23 16:48:51 +02:00
Mateusz Pusz c6a5d9e222 fix: broken requires expressions fixed 2020-09-23 16:38:40 +02:00
Mateusz Pusz a098f97c08 feat: CTAD for dimensionless quantity added 2020-09-23 16:34:13 +02:00
Mateusz Pusz f1f877130f build: doxygen updated to 1.8.20 2020-09-23 16:33:24 +02:00
Mateusz Pusz cb86cd2bcd fix: regression in quantity::op<<() for the case of std::setw() fixed 2020-09-15 08:55:35 +02:00
Mateusz Pusz 1eee6cbe93 docs: CHANGELOG updated 2020-09-15 07:30:27 +02:00
Mateusz Pusz 8687527b34 perf: temporary string creation removed from quantity::op<<() 2020-09-15 07:30:06 +02:00
Mateusz Pusz fd8d2e672b build: VS2019 16.7 minimum dependency clearly stated in conanfile 2020-09-14 20:43:37 +02:00
Mateusz Pusz 79b402db41 refactor: small cleanup in quantity_cast 2020-09-14 20:42:19 +02:00
Mateusz Pusz cc68172de7 fix: invalid tests removed from custom_rep_min_req_test 2020-09-14 20:41:57 +02:00
Mateusz Pusz ca11f4ff5d fix: ms-gsl Expects commented out for runtime code
Refers to #165

Resolves #164
2020-09-14 20:09:51 +02:00
Mateusz Pusz 3b0ba31e4d fix: constant evaluation encouraged in quantity_cast
Refers to #164
2020-09-14 20:07:26 +02:00
Mateusz Pusz bb57013add Revert "docs: Conan windows support issue documentation added"
This reverts commit 2e2259e650.
2020-09-14 14:11:58 +02:00
Mateusz Pusz 2e2259e650 docs: Conan windows support issue documentation added 2020-09-14 13:33:54 +02:00
Mateusz Pusz 6a3865b455 build: header-only mode enabled for Conan 2020-09-14 12:50:51 +02:00
Mateusz Pusz 3df415835e docs: added sudo apt-get install -y libtinfo5 graphviz to usage 2020-09-14 10:23:26 +02:00
Mateusz Pusz c00d98d6e1 build: disabled -qq for apt-get in build.py 2020-09-14 10:22:46 +02:00
Mateusz Pusz d0d95c322a docs: even more restrictive sphinx logging 2020-09-14 10:22:07 +02:00
Mateusz Pusz 8cc7a53943 docs: various small documentation fixes 2020-09-14 08:45:36 +02:00
Mateusz Pusz 452f1a105d docs: luminance and luminous_intensity paths fixed 2020-09-14 08:43:58 +02:00
Mateusz Pusz 3fae2b537e docs: generic quantities documentation added 2020-09-14 08:43:18 +02:00
Mateusz Pusz 63d288636f docs: downcasting documentation added 2020-09-14 08:37:46 +02:00
Mateusz Pusz 92c575cb1d build: Sphinx output disabled (only warnings and errors left) 2020-09-14 08:34:03 +02:00
Mateusz Pusz d4d23847d8 refactor: DOWNCAST_MODE renamed to UNITS_DOWNCAST_MODE 2020-09-13 18:45:46 +02:00
Mateusz Pusz 68bdc82955 docs: quantity_of concepts family documentation added 2020-09-13 17:45:12 +02:00
Mateusz Pusz 5a87b64009 docs: more core docs restored 2020-09-13 17:44:48 +02:00
Mateusz Pusz 7bcc97f77a docs: systems documentation reverted 2020-09-13 17:07:12 +02:00
Mateusz Pusz f1e46dd9e7 docs: changelog updated 2020-09-13 16:41:56 +02:00
Mateusz Pusz f69cc29cac docs: conan stable package badge updated in README 2020-09-13 12:23:56 +02:00
Mateusz Pusz eb23d004d4 build: version updated to 0.7.0 2020-09-13 11:46:24 +02:00
Mateusz Pusz 3f1eb80aaf docs: 0.6.0 release v0.6.0 2020-09-13 11:38:06 +02:00
Mateusz Pusz b5ffc8fe25 docs: Compiler Explorer links updated 2020-09-13 11:37:01 +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 57548fdb24 refactor: added preprocessor branch for downcast_mode OFF code 2020-09-12 21:21:45 +02:00
Mateusz Pusz a19c97fe85 refactor: small downcasting refactoring 2020-09-12 21:20:17 +02:00
Mateusz Pusz be46ac77d6 fix: downcasting_2.0 workaround for MSVC 2020-09-12 21:19:40 +02:00