Mike Ford
|
6004fa192a
|
fix: corrected old names in si::constants
substance -> amount_of_substance
temperature -> thermodynamic_temperature
|
2021-03-27 18:39:04 +01:00 |
|
Björn Schäpers
|
adca315f15
|
fix: Add missing include
Otherwise the namespace si is not defined
|
2021-03-25 08:54:22 +01:00 |
|
Mateusz Pusz
|
1d2b920538
|
Merge branch 'master' of github.com:mpusz/units
|
2021-03-19 23:31:54 +01:00 |
|
Mateusz Pusz
|
1197fa1ec4
|
fix: MSVC shadowing warning disabled for fmt_unit_test.cpp
|
2021-03-19 23:31:36 +01: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
|
0cbfcf2aa6
|
build: Small cleanup of GitHub Actions
|
2021-03-19 14:02:53 +01:00 |
|
Mateusz Pusz
|
590044b9f2
|
build: set CXX as a language for test_package CMake project
|
2021-03-19 12:56:56 +01:00 |
|
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 |
|