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

[temp.inst] Define the process of instantiation #3571

Open
sdkrystian opened this issue Dec 19, 2019 · 2 comments
Open

[temp.inst] Define the process of instantiation #3571

sdkrystian opened this issue Dec 19, 2019 · 2 comments
Labels
cwg Issue must be reviewed by CWG. not-editorial Issue is not deemed editorial; the editorial issue is kept open for tracking.

Comments

@sdkrystian
Copy link
Contributor

Instantiation is obviously used a lot, but we never specify what the process entails. The english definition is not sufficient to describe it, so it should be defined.

Perhaps something like:

Instantiation of a templated entity is the process of generating a specialization through substituting template arguments in for their respective template parameters. During the instantiation of the definition of a specialization, if the substitution results in an invalid type or expression, the program is ill-formed.

This isn't a full definition by any means, but certainly a start. The second sentence sounds a little iffy.

@jensmaurer
Copy link
Member

Uh, whatever we do here, we shouldn't do this editorially. If we have a gap in normative wording, CWG should fill it, not the editors.

@jensmaurer jensmaurer added cwg Issue must be reviewed by CWG. not-editorial Issue is not deemed editorial; the editorial issue is kept open for tracking. labels Dec 19, 2019
@sdkrystian
Copy link
Contributor Author

I'll submit a DR then

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. not-editorial Issue is not deemed editorial; the editorial issue is kept open for tracking.
Projects
None yet
Development

No branches or pull requests

2 participants