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: [PATCH] Fix libstdc++/9523 (and more)


> >The standard streams (cin, cout, cerr, clog, wcin, wcout, 
> wcerr, wclog) are
> >now only constructed once when the first object of type 
> ios_base::Init is
> >constructed and are never destroyed, as required by 27.3 p2 
> and 27.4.2.1.6
> >p3.
> 
> Yes, thanks for fixing this. I'm going to add test cases for this if I
> can figure it out. I guess I can just do an address check to 
> mark this.

27_io/objects/char/5.cc was supposed to be that test, but I couldn't
figure out how to force

static Strange static_ob;

to be created before the first static ios_base::Init.

Regards,
Petur


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