Skip to content

Conversation

@lprv
Copy link
Contributor

@lprv lprv commented Jan 9, 2025

A complete object can't be a bit-field, so saying 'non-bit-field complete object' is unnecessary.

A complete object can't be a bit-field, so saying 'non-bit-field
complete object' is unnecessary.
@tkoeppe
Copy link
Contributor

tkoeppe commented Jun 22, 2025

This was changed to the current wording by 3d711d3, https://cplusplus.github.io/CWG/issues/2519.html, which explicitly added that wording. Please file a core issue if you think it is unnecessary.

@tkoeppe tkoeppe closed this Jun 22, 2025
@tkoeppe
Copy link
Contributor

tkoeppe commented Jun 22, 2025

(@jensmaurer ^^^ for your information.)

@jensmaurer
Copy link
Member

Ack, and agreed with @tkoeppe .

@frederick-vs-ja
Copy link
Contributor

As the original submitter of CWG2519, I guess we should drop some occurrences of "complete" - as subobjects should also have object and value representations, and the representations should be consistent with complete objects as long as the subobject is not a bit-field. A follow-up CWG issue is possibly needed.

@lprv
Copy link
Contributor Author

lprv commented Jul 3, 2025

The linked issue changed "object" to "non-bit-field complete object". This PR removes (just) the "non-bit-field" part, as it is entirely redundant with "complete". This does not undo the resolution of the issue, or have any normative effect at all, hence I believe it is editorial.

I agree the object/value representation of non-bit-field subobjects is left unspecified by the new wording, but that gap is orthogonal to this PR.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants