This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Basically, because it has no uses in streambuf and in this way whoever wants to derive from streambuf doesn't get it unnecessarily. I have also checked a couple of ther widespread implementations and both do the same thing (no members for storing the openmode in streambuf).I get everything about this patch except for _M_mode. Why did you remove it from the base class and then put it in both derived classes? This seems foolish.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |