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

harmonize "deduced to" versus "deduced as" in [temp.deduct] #2390

Closed
zygoloid opened this issue Nov 7, 2018 · 2 comments
Closed

harmonize "deduced to" versus "deduced as" in [temp.deduct] #2390

zygoloid opened this issue Nov 7, 2018 · 2 comments
Assignees

Comments

@zygoloid
Copy link
Member

zygoloid commented Nov 7, 2018

We use both "deduced to" and "deduced as" when saying what template argument was deduced for a template parameter. We should pick one and use it consistently. CWG expressed no strong opinion as to which was preferred and suggested using whichever is more common.

@jensmaurer
Copy link
Member

"deduced to" -> 24 occurrences, but also has "deduced to be ..." fairly often
"deduced as" -> 15 occurrences

In a phrase like "X is deduced to [be] int", I think "deduced as" works better: "X is deduced as int".

@tkoeppe
Copy link
Contributor

tkoeppe commented Nov 26, 2018

This is mostly in non-normative examples, right? "Deduced as" sounds more natural to me, too; mild preference for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants