Skip to content

refactor: migrate mas symbols to boost::graph namespace - #572

Merged
Becheler merged 1 commit into
boostorg:developfrom
Becheler:feature/mas-namespace-migration
Aug 27, 2026
Merged

refactor: migrate mas symbols to boost::graph namespace#572
Becheler merged 1 commit into
boostorg:developfrom
Becheler:feature/mas-namespace-migration

Conversation

@Becheler

@Becheler Becheler commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

#286
#297

Before submitting

  • This PR targets the develop branch.
  • I searched for an existing PR or issue covering the same change.
  • My contribution is licensed under the Boost Software License 1.0.

Type of change

  • Bug fix
  • New feature or API addition
  • Refactor (no behavior change)
  • Documentation
  • Build, CI, or tooling
  • Other (specify below)

Does this PR introduce a breaking change?

  • Yes (describe migration impact below)
  • No

What this PR does

  • Moved mas_visitor, make_mas_visitor, default_mas_visitor, MASVisitorConcept into boost::graph
  • Left deprecated boost:: aliases (Boost.URL macro pattern: MSVC-safe)
  • Repointed internal uses: stoer_wagner_min_cut.hpp, mas_dispatch, mas_test.cpp
  • mas_test_old.cpp keeps boost:: aliases as the deprecated-API test
  • Docs: added inline MAS Visitor concept + adaptor sections, linked references, deprecation warning...

Motivation

We should progressively deprecate what is in the global boost namespace.

Testing

Checklist

  • Existing tests pass (b2 in the test/ directory).
  • New behavior is covered by a test, or this is a docs / build / refactor change.
  • Documentation was updated if user-facing behavior changed.
  • No new compiler warnings on the platforms I built against.

@Becheler Becheler self-assigned this Aug 26, 2026
@Becheler Becheler added technical debt Code that works but needs refactoring, cleanup, or modernization. Not user-facing. docs labels Aug 26, 2026
@cppalliance-bot

cppalliance-bot commented Aug 26, 2026

Copy link
Copy Markdown

An automated preview of the documentation is available at https://572.graph.prtest3.cppalliance.org/libs/graph/doc/html/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-08-27 10:15:21 UTC

@Becheler
Becheler force-pushed the feature/mas-namespace-migration branch from 407231d to e7e2e54 Compare August 26, 2026 19:58
@github-actions

github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown

Boost dependency footprint vs develop (auto-generated).
PR run 33062001653 vs develop run 33052604369 (aea6b04f3c).

Header-inclusion weights (graph files pulling each direct dependency in):

No header-inclusion-weight changes.

Transitive Boost modules: 66 → 66 (0)

@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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

@github-actions

github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown

Compiler-warning counts vs develop (auto-generated).
PR run 33062001547 vs develop run 33052604288 (aea6b04f3c).

Job Baseline After Delta
macos (clang, 14) 647 647 0
macos (clang, 17) 610 610 0
macos (clang, 20) 610 610 0
ubuntu (clang-19, 14) 647 647 0
ubuntu (clang-19, 17) 610 610 0
ubuntu (clang-19, 20) 610 610 0
ubuntu (clang-19, 23) 610 610 0
ubuntu (gcc-14, 14) 795 795 0
ubuntu (gcc-14, 17) 931 931 0
ubuntu (gcc-14, 20) 931 931 0
ubuntu (gcc-14, 23) 931 931 0
windows_msvc_14_3 (msvc-14.3) 952 952 0

@Becheler
Becheler force-pushed the feature/mas-namespace-migration branch from e7e2e54 to 2953957 Compare August 27, 2026 10:06
@Becheler
Becheler force-pushed the feature/mas-namespace-migration branch from 2953957 to aea6b04 Compare August 27, 2026 10:12
@Becheler
Becheler merged commit f70bf30 into boostorg:develop Aug 27, 2026
32 checks passed
@Becheler Becheler added algorithm type of issue related to algorithms deprecation docs and removed technical debt Code that works but needs refactoring, cleanup, or modernization. Not user-facing. docs labels Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

algorithm type of issue related to algorithms deprecation docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants