Skip to content

Conversation

jblomer
Copy link
Contributor

@jblomer jblomer commented Sep 22, 2025

Allow for std::atomic --> T (or compatible) automatic conversion and vice versa.

@jblomer jblomer self-assigned this Sep 22, 2025
@jblomer jblomer force-pushed the ntuple-evolution-atomic branch from 9ce4dd5 to ac97cad Compare September 22, 2025 14:48
Copy link

github-actions bot commented Sep 22, 2025

Test Results

    22 files      22 suites   3d 17h 6m 38s ⏱️
 3 691 tests  3 691 ✅ 0 💤 0 ❌
79 262 runs  79 262 ✅ 0 💤 0 ❌

Results for commit 6363615.

♻️ This comment has been updated with latest results.

Copy link
Member

@hahnjo hahnjo left a comment

Choose a reason for hiding this comment

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

In principle, the changes look neat and small. I'm wondering about the error case: When reconciling an RAtomicField with something on-disk that is not std::atomic, we unconditionally delegate to the item field. Is that maybe confusing for the error message? (I don't have an immediate idea how to do it better)

@jblomer jblomer force-pushed the ntuple-evolution-atomic branch from ef0feec to 1aec090 Compare October 6, 2025 14:08
@jblomer jblomer requested a review from bellenot as a code owner October 6, 2025 14:08
@jblomer jblomer requested review from hahnjo and silverweed October 6, 2025 14:08
@jblomer jblomer force-pushed the ntuple-evolution-atomic branch 4 times, most recently from e44c16a to f75eb4b Compare October 9, 2025 14:13
@jblomer jblomer requested review from pcanal and hahnjo October 9, 2025 15:23
Allow for std::atomic<T> --> T (or compatible) automatic conversion and
vice versa.
Copy link
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

4 participants