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

Format in [class.copy]/17 #556

Open
FrankHB opened this issue Oct 26, 2015 · 3 comments
Open

Format in [class.copy]/17 #556

FrankHB opened this issue Oct 26, 2015 · 3 comments
Labels
cwg Issue must be reviewed by CWG.

Comments

@FrankHB
Copy link
Contributor

FrankHB commented Oct 26, 2015

A user-declared copy assignment

Why is "copy" in italic?

@tkoeppe
Copy link
Contributor

tkoeppe commented Nov 14, 2015

This seems to be an attempt to decorate the definition of a term. Similar typography is used earlier for "default constructor". The word "constructor" is not itself italicized, since constructors as a whole aren't what's being defined; rather, only one particlular kind of constructor is being defined. Similarly, there are many assignment operators, but the sentence in question only defines the specific copy assignment.

However, this rule does not seem to have been applied consistently. If it were, we should also italicize:

  • copy constructor
  • move constructor
  • move assignment operator

@jensmaurer
Copy link
Member

Also, in general, we define entire phrases, not just one part of a phrase. So, we should actually italicize all of "copy constructor" where we define it.

@jensmaurer jensmaurer added the decision-required A decision of the editorial group (or the Project Editor) is required. label Nov 13, 2016
@jensmaurer
Copy link
Member

jensmaurer commented Mar 2, 2017

Editorial meeting consensus: Italicize the entire term-of-art we're defining.

Ask CWG to permit deleting "user-declared" in the definitions.

@jensmaurer jensmaurer added cwg Issue must be reviewed by CWG. and removed decision-required A decision of the editorial group (or the Project Editor) is required. labels Mar 2, 2017
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.
Projects
None yet
Development

No branches or pull requests

3 participants