-
Notifications
You must be signed in to change notification settings - Fork 804
[lib] Replace bad uses of "instantiation" with "specialization" #8379
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
base: main
Are you sure you want to change the base?
[lib] Replace bad uses of "instantiation" with "specialization" #8379
Conversation
| pointers, the library class | ||
| \tcode{complex}, |
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.
While we are here...should we also change this to say "specializations of complex" or something similar? complex is certainly not a class.
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.
Akin? Analogous to?
"Comparable to" would probably be the most natural term, but that's overloaded in C++ too.
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.
"In other words, value types." also looks broken. I guess it's better to fix this later.
source/utilities.tex
Outdated
| heterogeneous, fixed-size collections of values. An instantiation of \tcode{tuple} with | ||
| two arguments is similar to an instantiation of \tcode{pair} with the same two arguments. | ||
| heterogeneous, fixed-size collections of values. A specialization of \tcode{tuple} with | ||
| two arguments is similar to a specialization of \tcode{pair} with the same two arguments. |
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.
Drive by: can we find a word other than "similar" to avoid confusion with the Core Word of Power(TM)? Or just delete the sentence.
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.
I'm now attempting to use "behaves similarly" to avoid such confusion.
Affected sections: - [allocator.requirements.general] - [namespace.std] - [pointer.traits.types] - [allocator.traits.types] - [tuple.general] - [format.context] - [numeric.requirements] - [rand.util.canonical] - [thread.req.lockable.timed] - [thread.sharedtimedmutex.requirements.general] In [rand.util.canonical], it would be clearer to just say `generate_canonical` instead of "the instantiation" or "the specialization". Drive-by change: - In [tuple.general], change "is similar to" to "behaves similarly to" to avoid confusing with "similar types" in the core specification.
1703553 to
f7b3241
Compare
Affected sections:
In [rand.util.canonical], it would be clearer to just say
generate_canonicalinstead of "the instantiation" or "the specialization".Drive-by change:
Fixes #8222.