• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nholthaus / units / 743 / 1
0%
master: 0%

Build:
Build:
LAST BUILD BRANCH: v3.x
DEFAULT BRANCH: master
Ran 30 Oct 2018 02:32PM UTC
Files 2
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Oct 2018 02:26PM UTC coverage: 100.0%. Remained the same
MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" COVERALLS_SERVICE_NAME=travis-ci COVERALLS_REPO_TOKEN=[secure]

push

travis-ci

nholthaus
Strengthen unit aliases (#150)

* Run clang-format

* Expand `traits::strong` to work with `unit`s

* Add `UNIT_ADD_STRONG` for specializing `traits::strong`

* Add `traits::unit_base` type trait

* Add `UNIT_ADD_HASH` for specializing `std::hash`

* Add `UNIT_ADD_COMMON_TYPE` for specializing `std::common_type`

* Add macros grouping the macros for specializing templates

* Handle assignment from arithmetic like compound assignment

That is, convert to the underlying type in the caller.

* Make `is_`*`_unit` work with strong units

* Add `traits::replace_underlying` type trait

* Fix `is_non_lossy_convertible_unit`

* Account for strong units in the compound assignment operators

* Account for strong units in the unary operators

* Account for strong units in the binary arithmetic operators

* Account for strong units in the power functions

* Account for strong units in the decibel arithmetic operators

* Account for strong units in the trascendental functions

* Remove superfluous `traits::strong` partial specialization

* Add `UNIT_ADD_SCALED_UNIT_DEFINITION`

* Strengthen `dimensionless`

* Strengthen `dB_t`

* Strengthen decibel units

* Strengthen linear units

* Test CTAD

* VS2017 fix attempt

* Update documentation based on `conversion_factor` rename

* Fix macro documentation

* Avoid manual macro expansion

Modifies macros to allow arbitrary units.
Also adds missing `UNIT_ADD_STRONG` for `dB_t`.

* Add deduction guide for default constructor

3158 of 3158 relevant lines covered (100.0%)

1.82 hits per line

Source Files on job 743.1 (MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" COVERALLS_SERVICE_NAME=travis-ci COVERALLS_REPO_TOKEN=[secure])
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 430
  • Travis Job 743.1
  • 1634c786 on github
  • Prev Job for MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" COVERALLS_SERVICE_NAME=travis-ci COVERALLS_REPO_TOKEN=[secure] on v3.x (#733.1)
  • Next Job for MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" COVERALLS_SERVICE_NAME=travis-ci COVERALLS_REPO_TOKEN=[secure] on v3.x (#745.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc