erikzenker / hsm

Finite state machine library based on the boost hana meta programming library. It follows the principles of the boost msm and boost sml libraries, but tries to reduce own complex meta programming code to a minimum.
MIT License
187 stars 18 forks source link

feat: Replace all boost::hana::if_ by if constexpr #142

Closed erikzenker closed 3 years ago

codecov-io commented 3 years ago

Codecov Report

Merging #142 (3ccebeb) into master (c99cfdb) will increase coverage by 1.04%. The diff coverage is 98.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #142      +/-   ##
==========================================
+ Coverage   95.90%   96.94%   +1.04%     
==========================================
  Files          66       67       +1     
  Lines        1000      950      -50     
==========================================
- Hits          959      921      -38     
+ Misses         41       29      -12     
Impacted Files Coverage Δ
src/include/hsm/details/collect_states.h 100.00% <ø> (ø)
src/include/hsm/details/fill_dispatch_table.h 100.00% <ø> (ø)
...de/hsm/details/flatten_internal_transition_table.h 100.00% <ø> (ø)
src/include/hsm/details/flatten_transition_table.h 100.00% <ø> (ø)
src/include/hsm/details/idx.h 100.00% <ø> (ø)
src/include/hsm/gen/hsm.h 96.46% <91.66%> (+6.30%) :arrow_up:
src/include/hsm/details/dispatch_table.h 100.00% <100.00%> (ø)
src/include/hsm/details/sm.h 100.00% <100.00%> (ø)
src/include/hsm/details/traits.h 100.00% <100.00%> (ø)
test/unit/traits_tests.cpp 100.00% <100.00%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c99cfdb...b39bebe. Read the comment docs.