This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: Equivalence table between C++ and C file open modes


Paolo Carlini wrote:
Paolo Carlini wrote:

I'm committing the below to mainline.

Actually, this version, which seems more clear and puts at the end the lines new wrt C++03 (at some point we may add more...)

There's also ios::app alone (soon to be added to issue 596) which traditionally translates to "a", and ios::app|ios::in which is equivalent to "a+". I think libstdc++ accepts both.

Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]