Skip to content

Remove Boost.Assign & Boost.Bind dependencies and switch to BOOST_TEST - #167

Merged
mborland merged 4 commits into
boostorg:developfrom
Flamefire:assign-removal
Sep 15, 2026
Merged

mborland merged 4 commits into
boostorg:developfrom
Flamefire:assign-removal

Conversation

@Flamefire

Copy link
Copy Markdown
Contributor

Replace Boost.Assign by initializer list and simple helper due to commas otherwise interfering with the macro
Mostly done by Regex-search&replace

This discovered undeclared dependencies on Boost.range

Single file used Boost.Bind -> Also replaced by std::bind already used elsewhere

While at it another S&R to use BOOST_TEST instead of BOOST_CHECK<OP>

@codecov

codecov Bot commented Sep 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.80%. Comparing base (8ee0e54) to head (7a1aacc).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #167      +/-   ##
===========================================
+ Coverage    95.79%   95.80%   +0.01%     
===========================================
  Files          117      118       +1     
  Lines         7652     7653       +1     
===========================================
+ Hits          7330     7332       +2     
+ Misses         322      321       -1     
Files with missing lines Coverage Δ
include/boost/random/discrete_distribution.hpp 97.76% <100.00%> (ø)
include/boost/random/mixmax.hpp 99.04% <100.00%> (ø)
test/concepts.hpp 100.00% <100.00%> (ø)
test/multiprecision_int_test.cpp 100.00% <100.00%> (ø)
test/statistic_tests.hpp 60.00% <ø> (ø)
test/test_const_mod.cpp 100.00% <100.00%> (ø)
test/test_discrete_distribution.cpp 98.97% <100.00%> (ø)
test/test_distribution.ipp 100.00% <100.00%> (ø)
test/test_generate_canonical.cpp 100.00% <100.00%> (ø)
test/test_generator.ipp 100.00% <100.00%> (ø)
... and 11 more

Continue to review full report in Codecov by Harness.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mborland mborland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you!

@mborland
mborland merged commit 459f9c2 into boostorg:develop Sep 15, 2026
63 checks passed
@Flamefire
Flamefire deleted the assign-removal branch September 15, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants