-
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
[lib] Parameter names in synopses #3255
Comments
I agree 100% with removing parameter names from defaulted and deleted functions, and from special member functions where we declare them in the synopsis but don't have an |
Editorial meeting: \itemdecl should not introduce primary information; it's just a heading. Parameter names might meet that bar. Arbitrarily picking a name seems reasonable. Investigate prevailing existing style. Suggest to use "other" consistently. |
[counted.iterator] has this in the class synopsis:
[counted.iter.const] has a different parameter name:
|
While we strive to keep the declaration in a synopsis the same as the one in an
\itemdecl
, we're inconsistent (at least) for copy/move constructors and copy/move assignment operators.Personally, I feel that copy/move operations speak for themselves through the declaration and don't need a distracting parameter name in the synopsis, in particular if the function is defaulted or deleted. (We need one for the
\itemdecl
, of course, because we need to talk about the source of the copy/move.)See #3230 for a specific case.
The text was updated successfully, but these errors were encountered: