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
[basic.def.odr] What does D
refer to in p14?
#4498
Comments
Yes. "D" is defined way above and not limited to templates. |
Then it is unclear why it was moved to its own paragraph instead of becoming another list item:
|
The commit you referenced didn't move the "If D is a template" outside of the bullets. Historically, maybe it was felt that references to "these requirements" (meaning the bulleted list) should be outside of the bulleted list. We're already inconsistent with the use of default arguments, though, so moving at least the "If template" part into the bullets (and maybe some of the other stuff) would clarify. |
@zygoloid: This is subtle, would you perhaps have a suggestion? |
Suggestion: merge p15 into the previous paragraph as a bullet, but check with @zygoloid. But should the recursion ("these requirements") be part of the bullets, separate bullets, or in a separate paragraph? |
[basic.def.odr]/14:
It's clear that in the first sentence,
D
must be a template. But do the second and third sentences (starting from "These requirements") apply whenD
is not a template?The text was updated successfully, but these errors were encountered: