Reputation: 29
What is the difference between using this form of code fstream file{"foo.txt", ios::out};
and fstream foo{"foo.txt", fstream::out};
and this fstream file{"foo.txt", file.out};
What is the difference and how does the compiler understand it?
Upvotes: 0
Views: 40