Skip to content

P3860R1 Make atomic_ref<T> Convertible To atomic_ref<const T> #5838

@StephanTLavavej

Description

@StephanTLavavej

WG21-P3860R1 Make atomic_ref<T> Convertible To atomic_ref<const T>

This was officially voted in as a C++20 Defect Report during the November 2025 meeting.

No feature-test macro is being added, intentionally.

Followup to #5147, which we implemented unconditionally with #5213.

"I remember that we cleared this world out. We won. Is a future coming in which we will, eventually, truly, have won?"
- Ra, by qntm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions