Commit Graph
1212 Commits
Author SHA1 Message Date
Mateusz Pusz 3f45da5882 fix: Switched to check_cxx_symbol_exists() for libcxx detection 2021-03-19 12:56:32 +01:00
Mateusz Pusz ec4c283cc0 build: range-v3 dependency added to CMake config file for clang + libc++ 2021-03-19 11:08:50 +01:00
Mateusz Pusz 03fe0d5b27 ci: bash set as a shell for all run actions 2021-03-19 11:08:08 +01:00
Mateusz Pusz 2defd58899 ci: another effort to fix it 2021-03-19 09:58:01 +01:00
Mateusz Pusz 30532ca4e8 ci: another trial to fix test_package 2021-03-19 09:30:24 +01:00
Mateusz Pusz 829952132a ci: test_package fixed again 2021-03-19 09:16:48 +01:00
Mateusz Pusz 078fbdc782 ci: Ninja install fixed for test_package 2021-03-19 08:58:56 +01:00
Mateusz Pusz 6d11e72fc9 ci: test_package extended for different compilers and OSes 2021-03-19 08:45:40 +01:00
Mateusz Pusz 813403c8f0 build: range-v3 dependency fixed 2021-03-19 08:41:11 +01:00
Mateusz Pusz 081e61eb98 build: overwriting "core" requires in package_info() fixed 2021-03-19 08:21:36 +01:00
Mateusz Pusz 528898fb2c build: package_info() fixed 2021-03-19 07:58:30 +01:00
Mateusz Pusz 88e642ec74 refactor: QuantityValue concept renamed to Representation 2021-03-19 07:53:18 +01:00
Mateusz Pusz 67b2ad5d05 Merge branch 'go2sh-add_symbolrate' 2021-03-19 07:35:40 +01:00
Mateusz Pusz 07cb258eff Merge branch 'add_symbolrate' of https://github.com/go2sh/units into go2sh-add_symbolrate 2021-03-19 07:35:20 +01:00
Mateusz Pusz 3629173df2 Merge branch 'go2sh-add_si_prefix_bit' 2021-03-19 07:25:14 +01:00
Mateusz Pusz 6c4dc95897 Merge branch 'add_si_prefix_bit' of https://github.com/go2sh/units into go2sh-add_si_prefix_bit 2021-03-19 07:24:53 +01:00
Mateusz Pusz ca7762177f refactor: quantity::value_ renamed to quantity::number_
Refers to #259
2021-03-19 07:01:12 +01:00
Mateusz Pusz 901b09fd52 refactor: quantity::count() renamed to quantity::number()
Resolves #259
2021-03-19 06:47:37 +01:00
Mateusz Pusz bcaf252dec build: Library components exposed in Conan 2021-03-19 06:36:26 +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
Johel Ernesto Guerrero Peña 376c402fa0 fix: remove implied support for unallowed syntaxes on quantity kinds and references 2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña 5914ae2260 docs(src): expand on non-allowed syntaxes 2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña ddbbb8ac55 style: remove braces from value 2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña ced4b3bbed refactor: make reference's interface hidden friends
Addresses:
- https://github.com/mpusz/units/pull/261#discussion_r597135187
- https://github.com/mpusz/units/pull/261#discussion_r597152408
2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña 234337d310 refactor: use perfect forwarding for make functions
Addresses https://github.com/mpusz/units/pull/261#discussion_r597131272.
2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña c61b8643d7 refactor(test): rename references.cpp to references_test.cpp
Addresses https://github.com/mpusz/units/pull/261#discussion_r597217632.
2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña ed94ba347f refactor(test): rename unit_constants.cpp to references.cpp
Addresses https://github.com/mpusz/units/pull/261#discussion_r597137577.
2021-03-18 22:37:25 +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 6d9abe97e5 docs: rephrase 'unit constant' to 'quantity reference' 2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña 0c09871bca fix: do not forward declare reference's interface on MSVC 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 1068f7d182 refactor: use values rather than types for reference
Addresses https://github.com/mpusz/units/pull/261#discussion_r596661260.
2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña 4622979ed9 refactor: make the interface of reference more visible 2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña dd1a46cd35 style: mark comment as TODO
Addresses https://github.com/mpusz/units/pull/261#discussion_r596641518.
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 bf27b256b2 docs: CMake targets definition in usage updated 2021-03-18 20:50:38 +01:00
Mateusz Pusz 4ef4c1ea1f build: CONFIG REQUIRED added for range-v3 2021-03-18 08:18:18 +01:00
Mateusz Pusz 5df447f912 docs: usage updated 2021-03-18 08:17:45 +01:00
Mateusz Pusz 533b957a23 build: disabling of gcc warnings removed from Conan
Refers to #203
2021-03-18 08:17:00 +01:00
Mateusz Pusz d6f9ae0308 ci: Chocolatey caching removed
Relates to #256
2021-03-17 22:38:24 +01:00
Mateusz Pusz 27c9ca5ffd ci: yet another attempt to cache Ninja 2021-03-17 22:29:23 +01:00
Mateusz Pusz d48db94f7d ci: another attempt to cache Chocolatey dependencies 2021-03-17 22:19:57 +01:00
Mateusz Pusz 21d20ed56d ci: Chocolatey dependencies caching added
Resolves #256
2021-03-17 17:43:14 +01:00
Mateusz Pusz 44025cd9a0 docs: CMake generators updated in "Live At Head" chapter 2021-03-17 15:57:11 +01:00
Mateusz Pusz f2b52e9743 Merge branch 'master' of github.com:mpusz/units 2021-03-17 13:46:59 +01:00
Mateusz Pusz 37473eb8ad refactor: core-io and core-fmt separate modules added 2021-03-17 13:46:28 +01:00
Johel Ernesto Guerrero Peña 229d303319 refactor: add portable diagnostic pragmas 2021-03-17 08:46:05 +01:00
Mateusz Pusz b356a53fa4 build: installation of mp-units and mp-units-systems fixed 2021-03-16 23:40:57 +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