Skip to content

Use constexpr values in both is_bgl_named_params specializations. - #629

Open
varunsha30 wants to merge 1 commit into
boostorg:developfrom
varunsha30:issue-593-3.1-betweenness_centrality
Open

varunsha30 wants to merge 1 commit into
boostorg:developfrom
varunsha30:issue-593-3.1-betweenness_centrality

Conversation

@varunsha30

Copy link
Copy Markdown
Contributor

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

Replaces BOOST_STATIC_CONSTANT with static constexpr in both specializations of detail::graph::is_bgl_named_params. The trait continues to distinguish named-parameter calls from centrality-map overloads.

Motivation

part of #593

Testing

tested using cxxstd=14 and toolset=clang.
device: macbook M2 air.

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.

…his makes the trait's role in separating named-parameter calls from centrality-map overloads explicit.
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Boost dependency footprint vs develop (auto-generated).
PR run 37483820671 vs develop run 37447552382 (d5110c4e71).

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

No header-inclusion-weight changes.

Transitive Boost modules: 47 → 47 (0)

@codecov

codecov Bot commented Oct 6, 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.

@varunsha30
varunsha30 marked this pull request as ready for review October 6, 2026 17:00
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.

1 participant