You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LWG-3878import std; should guarantee initialization of standard iostreams objects
Need to investigate whether our iostreams machinery achieves this automatically, or if we need to do something special for Standard Library Modules. It sure seems like I can use cout normally.
The text was updated successfully, but these errors were encountered:
cout works fine with no dynamic initializer in the TU for std::ios_base::Init. We use some #pragma init_seg(compiler) trickery to ensure that cout et al. are initialized before dynamic initializers run. This is all true for both modules and non-modules builds.
LWG-3878
import std;
should guarantee initialization of standard iostreams objectsNeed to investigate whether our iostreams machinery achieves this automatically, or if we need to do something special for Standard Library Modules. It sure seems like I can use
cout
normally.The text was updated successfully, but these errors were encountered: