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.iterator] Wrong type name in default constructor of ostream_iterator #3236

Closed
KalleOlaviNiemitalo opened this issue Sep 23, 2019 · 0 comments · Fixed by #3240
Closed

Comments

@KalleOlaviNiemitalo
Copy link

The default constructor in template class ostream_iterator says ostreambuf_iterator where it should say ostream_iterator:

draft/source/iterators.tex

Lines 5850 to 5853 in e287e82

constexpr ostreambuf_iterator() noexcept = default;
ostream_iterator(ostream_type& s);
ostream_iterator(ostream_type& s, const charT* delimiter);
ostream_iterator(const ostream_iterator& x);

It was added in #2515. The [ostream.iterator] section of P0896R4 does not contain this error.

CaseyCarter added a commit to CaseyCarter/draft that referenced this issue Sep 23, 2019
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

Successfully merging a pull request may close this issue.

1 participant