cplusplus / cplusplus/draft

[class.copy.assign] lacks to specify the effect of the implicitly-defined move assignment operator for a union class

Open
#5,197 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TeX
Stars
221
Forks
813
Avg merge
16h 4m
Merged PRs (30d)
36

Description

[class.copy.assign] p13 only specifies the effect of the implicitly-defined copy assignment operator for a union class.

The implicitly-defined copy assignment operator for a union X copies the object representation ([basic.types]) of X.

we lack to specify the relevant expound about the effect of the implicitly-defined move assignment operator for a union class. Presumably, that effect is equivalent to that of the above? which maybe that

The implicitly-defined copy /move assignment operator for a union X copies the object representation ([basic.types]) of X.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the draft sources for [class.copy.assign] paragraph 13 and read the surrounding copy and move assignment wording. Confirm whether the effect of an implicitly-defined move assignment operator for a union is specified; done means the clause states the intended effect unambiguously and the generated draft reflects the accepted wording.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, tex
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.