File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22title : " Proposed Resolution for NB Comment GB13-309 `atomic_ref<T>` is not convertible to `atomic_ref<const T>`"
3- document : P3860R0
4- date : 2025-10 -04
3+ document : P3860R1
4+ date : 2025-11 -04
55audience : LEWG, LWG
66author :
77 - name : Hui Xie
@@ -28,7 +28,7 @@ Change [atomics.ref.generic.general]{.sref} as follows:
2828 constexpr explicit atomic_ref (T&);
2929 constexpr atomic_ref(const atomic_ref&) noexcept;
3030 @[ ` template <class U> ` ] {.add}@
31- @[ ` constexpr atomic_ref(const atomic_ref<U>&); ` ] {.add}@
31+ @[ ` constexpr atomic_ref(const atomic_ref<U>&) noexcept ; ` ] {.add}@
3232```
3333
3434Add a new entry to [atomics.ref.ops]{.sref} after paragraph 8:
@@ -37,7 +37,7 @@ Add a new entry to [atomics.ref.ops]{.sref} after paragraph 8:
3737
3838```cpp
3939template <class U>
40- constexpr atomic_ref(const atomic_ref<U>& ref);
40+ constexpr atomic_ref(const atomic_ref<U>& ref) noexcept ;
4141```
4242
4343[ 9] {.pnum} * Contraints* :
You can’t perform that action at this time.
0 commit comments