-
Notifications
You must be signed in to change notification settings - Fork 769
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
P1113R0 CWG "ready" Issues for the June, 2018 (Rapperswil) meeting #2186
Conversation
source/templates.tex
Outdated
}; | ||
using T1 = X<S, int, int>; // error: too many arguments | ||
using T2 = X<>; // error: no default argument for first template parameter | ||
using T3 = X<1>; // error: value 1 does not match type-parameter |
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.
Missing code font for 1
here.
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.
Pushed as fixup.
source/templates.tex
Outdated
template parameter, and is not convertible to the type of the | ||
corresponding non-type parameter as specified in~\ref{temp.arg.nontype}, | ||
When an explicit template argument list is specified, if the | ||
given \grammarterm{template-id} is invalid\iref{temp.names}, |
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.
invalid -> not valid, to fix the use of an undefined term.
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.
Done...
source/templates.tex
Outdated
type deduction fails. | ||
|
||
\item The specified template argument values are substituted for the | ||
The specified template argument values are substituted for the |
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.
Add an "Otherwise" to the start of this sentence for clarity and flow.
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.
... and pushed as editorial commit.
* Use "not valid" rather than "invalid", since only "valid" has been defined. * Add an "otherwise" to improve flow.
bb52b25
to
5274b2e
Compare
FIxes #2113.
Note the comment in that issue.