Commit Graph
253 Commits
Author SHA1 Message Date
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 512406e900 build: got rid of global options for references and literals 2021-04-06 16:30:26 +02:00
Mateusz Pusz b3b52148c0 build: CMake message about UNITS_BUILD_DOCS unified 2021-04-06 16:25:43 +02:00
Mateusz Pusz 71d79aeab0 docs: reference to dimension of speed fixed in "Derived Unnamed Units" chapter 2021-04-06 16:23:54 +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 b842c3f94a docs: q_ prefixes added for "Dimension-Specific Aliases" 2021-04-06 14:44:24 +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 a954f5d924 build: Conan testing version is now hosted on Artifactory
Bintray is going to be EOL soon
2021-04-05 17:19:14 +02:00
Mateusz Pusz 1a5b4fc85e refactor: UDLs support switched off by default 2021-04-02 18:56:28 +02:00
Mateusz Pusz 5fc7e01d19 docs: Usage chapter renamed and moved down in the index 2021-04-02 18:47:54 +02:00
Mateusz Pusz 603bc36efb docs: Systems documentation updated 2021-04-02 18:47:17 +02:00
Mateusz Pusz c4e9ff7f66 docs: Documentation now prefers refrences over UDLs 2021-04-02 13:11:20 +02:00
Mateusz Pusz 7cc34646b9 docs: Compiler Explorer links updated 2021-04-01 19:34:35 +02:00
Mateusz Pusz 019e4cb143 docs: Usage examples updated to prefer references rather than UDLs 2021-04-01 14:04:07 +02:00
Mateusz Pusz ef94100d02 docs: CHANGELOG updated 2021-04-01 14:03:26 +02:00
Mateusz Pusz 138d85f9bf docs: Usage updated 2021-04-01 09:38:02 +02:00
Mateusz Pusz bbb5c248f0 docs: Broken links fixed 2021-04-01 09:37:44 +02:00
Mateusz Pusz 9054420d08 build: Added an option to disable UDLs support
Now it is time to get rid of UDLs from tests and examples and then disable them by default.
2021-04-01 09:36:55 +02:00
Mateusz Pusz 01935996e6 build: IWYU support added 2021-03-30 13:15:47 +02:00
Mateusz Pusz 173e1f0554 docs: usage chapter fixed 2021-03-19 23:21:00 +01:00
Mateusz Pusz 4f7c944022 docs: quantity_kind.rst fixed and included in TOC 2021-03-19 23:20:32 +01:00
Mateusz Pusz 822c409e91 docs: library directory structure chapter updated 2021-03-19 23:19:53 +01:00
Mateusz Pusz fc7b0e44e2 feat: 💥 !data system renamed to isq::iec80000 (quantity names renamed too)
Relates to #253
2021-03-19 23:04:52 +01: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 f0cfc14b83 refactor: remove operator/(Rep, reference)
Addresses https://github.com/mpusz/units/pull/261#discussion_r597289047.
2021-03-19 06:31:12 +01:00
Johel Ernesto Guerrero Peña 9da39070ed docs: update for reference<D, U> 2021-03-19 06:31:12 +01:00
Mateusz Pusz bf27b256b2 docs: CMake targets definition in usage updated 2021-03-18 20:50:38 +01:00
Mateusz Pusz 5df447f912 docs: usage updated 2021-03-18 08:17:45 +01:00
Mateusz Pusz 44025cd9a0 docs: CMake generators updated in "Live At Head" chapter 2021-03-17 15:57:11 +01:00
Mateusz Pusz 7ee0e3ff90 docs: ISQ systems reference fixed 2021-03-16 23:02:43 +01:00
Mateusz Pusz bbbb77286c refactor: physical replaced with isq
Refers to #249
2021-03-16 12:03:25 +01:00
Mateusz Pusz f3bcdc4ad2 docs: Project's dependencies updated on the Usage page 2021-03-16 10:27:59 +01:00
Mateusz Pusz 23720d055e refactor: Refactored the library file tree
Resolves #249
2021-03-16 09:32:28 +01:00
Mateusz Pusz 1f0dd453eb docs: clang support added to docs 2021-03-15 22:08:12 +01:00
Mateusz Pusz dd39dd4f6e Merge branch 'master' of github.com:mpusz/units 2021-03-14 16:50:28 +01:00
Mateusz Pusz c42b5c0498 docs: CMAKE_BUILD_TYPE is not needed as CMakeToolchain will provide it anyway 2021-03-14 16:50:24 +01:00
Mateusz Pusz 7c9e35dcd6 refactor: explicit usage unified accross the library 2021-03-13 19:55:18 +01:00
Mateusz Pusz 23da1299d6 build: CMake scripts cleanup 2021-03-13 19:53:09 +01:00
Mateusz Pusz 3b3b9d92fb docs: Minimum required VS version bumped to 16.9 2021-03-12 23:10:39 +01:00
Mateusz Pusz 65e383a506 docs: Basic concepts embraced with examples 2021-03-05 11:31:46 +01:00
Mateusz Pusz cdba0cdbc4 refactor: glide_computer refactored and extended with geographical coordinates 2021-02-26 14:10:36 +01:00
Mateusz Pusz db231659be docs: CHANGELOG updated 2021-02-23 20:35:10 +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 f2cb24357c fix: UDLs cannot be consteval 2021-02-18 19:54:40 +01:00
Mateusz Pusz 419db7a36e Merge branch 'master' of github.com:mpusz/units 2021-02-18 19:34:22 +01:00
Johel Ernesto Guerrero Peña 8d6d43b32d feat: quantity point-like support 2021-02-17 19:40:52 +01:00
Mateusz Pusz a7f452cd12 refactor: Got rid of -Wsign-conversion warnings on UDLs
Refers to #226
2021-02-17 19:37:20 +01:00
Mateusz Pusz 86584dbfe2 docs: "UDLs vs Unit Constants" chapter extended 2021-02-17 17:54:12 +01:00
Johel Ernesto Guerrero Peña 052d818385 fix: downcasting facility for non-default-constructible types 2021-02-17 15:51:39 +01:00