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

[ostream] non-member functions are listed in the wrong place #3173

Open
zygoloid opened this issue Aug 14, 2019 · 2 comments
Open

[ostream] non-member functions are listed in the wrong place #3173

zygoloid opened this issue Aug 14, 2019 · 2 comments

Comments

@zygoloid
Copy link
Member

[ostream] lists non-member functions that operate on ostreams. These should be listed in [ostream.syn] instead. (Note that some of the text under the class synopsis in [ostream] will need to be moved too.)

Also check for other occurrences of this elsewhere in [input.output].

@jensmaurer
Copy link
Member

[ostream] p2 and [ostream] p4 need to be adapted. For example, p2 relates "member functions" to "formatted inserter", which is not true in general.

[istream] is also affected by the general issue.

@jwakely
Copy link
Member

jwakely commented Sep 4, 2019

It's pretty confusing that the non-member function templates in [ostream.inserters.character] are listed between the member functions in [ostream.inserters] and the member functions in [ostream.unformatted]. In the context of an \itemdecl it's not obvious whether something is a member function or not, because we don't qualify member functions with their class name.

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