Skip to content

Remove several TODOs related to C++17 support - #3574

Merged
paulromano merged 4 commits into
openmc-dev:developfrom
GuySten:c++17
Sep 24, 2025
Merged

paulromano merged 4 commits into
openmc-dev:developfrom
GuySten:c++17

Conversation

@GuySten

@GuySten GuySten commented Sep 18, 2025

Copy link
Copy Markdown
Contributor

Description

Now that c++17 is supported we can fulfill some TODOs in the code.

tagging @paulromano, because this PR affects performance of event based transport.

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

@GuySten
GuySten requested a review from pshriwise September 18, 2025 14:14

@paulromano paulromano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the PR @GuySten. I ended up revert the change using the parallel sort because it requires linking against a new library (Intel TBB). If we are going to do that, we should understand all the implications for compatibility. For now, I'll merge the other changes but if we want to consider using parallel algorithms from C++17, we should discuss that over an issue first.

@paulromano paulromano changed the title removed todos related to c++17 support Remove several TODOs related to C++17 support Sep 23, 2025
@paulromano
paulromano enabled auto-merge (squash) September 23, 2025 14:05
@paulromano
paulromano merged commit 66e7d86 into openmc-dev:develop Sep 24, 2025
42 of 62 checks passed
@GuySten
GuySten deleted the c++17 branch September 25, 2025 06:56
Grego01-biot pushed a commit to Grego01-biot/openmc that referenced this pull request Oct 27, 2025
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
apingegno pushed a commit to apingegno/openmc that referenced this pull request May 7, 2026
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
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