Skip to content
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

Example in 3.2/6 (6.6) is obsolete #441

Closed
hubert-reinterpretcast opened this issue Feb 13, 2015 · 4 comments
Closed

Example in 3.2/6 (6.6) is obsolete #441

hubert-reinterpretcast opened this issue Feb 13, 2015 · 4 comments
Labels
cwg Issue must be reviewed by CWG.

Comments

@hubert-reinterpretcast
Copy link
Contributor

In N4296 subclause 3.2 [basic.def.odr] paragraph 6, the example under 6.6 was rendered obsolete by the resolution to Core Issue 1344.

@zygoloid
Copy link
Member

Hmm, is the normative rule itself also obsolete? If so, we should remove it via a core issue; if not, we should replace this example by a correct one.

@hubert-reinterpretcast
Copy link
Contributor Author

Updated 2015-03-05:
An example using NSDMI was been sent to the Core reflector. The normative rule still needs to be updated to replace "implicitly-declared" with "non-user-provided" (or perhaps "defaulted"). There is still no example where the violation stems from calling a base class constructor.

(Old content, still applies to base class constructor example):
I haven't discovered any case where the normative rule itself prevents anything that cannot be interpreted as a violation of the ODR (less the rule in question) or some other "ill-formed, no diagnostic required" rule having to do with templates. I will send a note on the Core reflector.

@zygoloid zygoloid added the cwg Issue must be reviewed by CWG. label Feb 13, 2015
@zygoloid
Copy link
Member

@jensmaurer
Copy link
Member

This issue is covered by CWG 2085.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cwg Issue must be reviewed by CWG.
Projects
None yet
Development

No branches or pull requests

3 participants