-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[temp.over.link] Reword to clarify that declarations correspond #5999
Conversation
@burblebee, @opensdh, @jensmaurer: For your consideration, please! |
I just happened to glance at this draft rewording: I'm sorry, but I can't understand the proposed sentence. Please revise, preferably into two or more sentences; this one as drafted just has too many convolutions for me to decipher. Failing that, please restore the original.
… On Nov 22, 2022, at 12:36 PM, Thomas Köppe ***@***.***> wrote:
Fixes ##5997 <#5997>.
You can view, comment on, or merge this pull request online at:
#5999 <#5999>
Commit Summary
9e075fa <9e075fa> [temp.over.link] Reword to clarify that declarations correspond
File Changes (1 file <https://github.com/cplusplus/draft/pull/5999/files>)
M source/templates.tex <https://github.com/cplusplus/draft/pull/5999/files#diff-993d162d99c97390cfd9b2c9b076a5ef904d9e48366aa8bbbe7663cfc8367588> (13)
Patch Links:
https://github.com/cplusplus/draft/pull/5999.patch <https://github.com/cplusplus/draft/pull/5999.patch>
https://github.com/cplusplus/draft/pull/5999.diff <https://github.com/cplusplus/draft/pull/5999.diff>
—
Reply to this email directly, view it on GitHub <#5999>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAY4ZGLAXCQA6X3ZQZRYAQTWJUHC7ANCNFSM6AAAAAASIEFRRY>.
You are receiving this because you are subscribed to this thread.
|
@W-E-Brown: Could you please tell me how you understand the original wording? I also find this a bit weird, but I don't think this change is at fault here -- the problem for me already resided in the original third bullet, "would declare the same entity considering them to correspond". I thought I'm just preserving that weirdness. If you tell me what the original meant, I can try and look for a clearer rewording. |
IMO, "preserving that weirdness" seems to be a questionable objective of rewording an admittedly questionable specification. Alas, I see no improvement in clarity in the proposed text.
Having any "weirdness" in a core specification seems strong motivation for consulting CWG or even opening a core issue: I suggest that CWG be asked to clarify the intention and its wording here, since "considering them to correspond" is (AFAIK) not a defined term of art. Pending resolution of such inquiry, I respectfully recommend no wording change, as I find the proposed bullet-free specification much harder to parse than the existing specification with its bullet list.
… On Nov 22, 2022, at 2:56 PM, Thomas Köppe ***@***.***> wrote:
@W-E-Brown <https://github.com/W-E-Brown>: Could you please tell me how you understand the original wording? I also find this a bit weird, but I don't think this change is at fault here -- the problem for me already resided in the original third bullet, "would declare the same entity considering them to correspond". I thought I'm just preserving that weirdness. If you tell me what the original meant, I can try and look for a clearer rewording.
|
The wording came in fresh out of Core with CWG2603, and I wouldn't normally second-guess Core's deliberations and care. @jensmaurer, @opensdh Could you perhaps shed some light on how "considering them to correspond" is to be interpreted? |
The idea of that bullet is to do a "specification function call" to "same entity" with the override "the declarations do correspond" (although, in fact, they don't). "Same entity" says in 6.6 p8:
We want to have this list of conditions checked, except that "they correspond" should be assumed to be true for that specification function call. "considering them to correspond" seems to be on-point for that. |
OK, I get that, but I still think "if two function templates [...] would declare the same entity considering them to correspond" is a pretty awkward way to say that. I think the fact that the "them" refers to something quite distant, and also to the fact that you're expected to spot that "correspond" is a detail of "same entity" make this quite a strain. In other words, this wording makes sense if you already have your explanation in mind, but the explanation itself seems hard to discover just based off this wording. Would it hurt to just spell this reasoning out? """
""" |
Maybe we can decorate the whole sentence a bit more: ""
the program is ill-formed [...] |
We could also move the punchline (that the declarations do not correspond) to the end: """ |
@jensmaurer, @opensdh What do you think of this suggestion? |
I like moving the punchline. I'm not too happy with that third bullet; it feels too wordy. maybe "would declare the same entity, when considering A and B to correspond in the determination per 6.6," |
@opensdh, what do you think? |
Even more radical, and I'm not actually proposing that: ===
=== |
I like 58b98d1 (though perhaps with some slight rewordings like "declare the same name" → "introduce the same name" and "to correspond in the determination per 6.6," → "in that determination (6.6),"). The whole point here is to recompute the same-entity status with a deliberately weaker filter just as with "functionally equivalent but not equivalent". |
Thanks, @opensdh, I applied that! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me.
Thanks, everyone! |
Fixes ##5997.