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
[input.output] Invalid use of injected-class-name of dependent base #1551
Comments
Or we could just say "initializing the base class with |
Now that we have class template deduction, |
[istringstream.cons] p1+2 and friends has the same issue, btw. |
I would actually opt towards spelling out the name of the base class in full. I find that a bit more readable than just "initializing with |
…ase classes. Fixes cplusplus#1551.
[ifstream.cons] says "initializing the base class with
basic_istream(&sb)
" but as that's a dependent base we need to spell its name out in full:basic_istream<char, traits>(&sb)
.This occurs in paragraphs 1 and 2, and [ofstream.cons] 1 & 2, and [fstream.cons] 1 & 2.
The text was updated successfully, but these errors were encountered: