Skip to content

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

Open
Becheler wants to merge 1 commit into
boostorg:developfrom
Becheler:feature/mas-namespace-migration
Open

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

Conversation

@Becheler

Copy link
Copy Markdown
Collaborator

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-26 20:05:21 UTC

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

Copy link
Copy Markdown

Boost dependency footprint vs develop (auto-generated).
PR run 33007990292 vs develop run 33005161720 (e7e2e54fa4).

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

Copy link
Copy Markdown

Compiler-warning counts vs develop (auto-generated).
PR run 33007990254 vs develop run 33005161740 (e7e2e54fa4).

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs technical debt Code that works but needs refactoring, cleanup, or modernization. Not user-facing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants