P3612R1 Harmonize proxy-reference operations#8561
Conversation
|
I would like to create a new subsection for each nested reference class to avoid the need to qualify each \itemdecl with the unusual |
| class reference { | ||
| public: | ||
| constexpr reference(const reference&) = default; | ||
| constexpr reference(const reference&) noexcept; |
There was a problem hiding this comment.
| constexpr reference(const reference&) noexcept; | |
| constexpr reference(const reference& x) noexcept; |
The paper adds an x here.
| class @\libmember{reference}{vector<bool>}@ { | ||
| public: | ||
| constexpr reference(const reference&) = default; | ||
| constexpr reference(const reference&) noexcept; |
There was a problem hiding this comment.
| constexpr reference(const reference&) noexcept; | |
| constexpr reference(const reference& x) noexcept; |
There is also no x in the paper though. However, the paper does add an x in the synopsis of bitset::reference, and the whole point is harmonization, so I guess there ought to be an x here.
jwakely
left a comment
There was a problem hiding this comment.
I agree with Jan's two suggestions.
af003f3 to
8090054
Compare
|
Fixed, plus applied the noted editorial comment in the paper to reorder the members consistently. In doing so, I noticed that only Should we open an LWG issue to add that specification, and following the harmonization principle, add the same to |
8090054 to
54f76fc
Compare
We should definitely not add it to vector bool. See the LWG mattermost on October 9 where @Bekenn observed:
i.e. |
54f76fc to
a4e99f9
Compare
a4e99f9 to
5702f5c
Compare
Fixes #8471
Fixes cplusplus/papers#2419